projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b69f0c
)
Fix compilation warning. NFC.
author
Michael Liao
<michael.hliao@gmail.com>
Thu, 21 Nov 2019 17:06:32 +0000
(12:06 -0500)
committer
Michael Liao
<michael.hliao@gmail.com>
Thu, 21 Nov 2019 17:07:13 +0000
(12:07 -0500)
clang/lib/Driver/Driver.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/Driver/Driver.cpp
b/clang/lib/Driver/Driver.cpp
index 90f3cea5b2af19a0ee8390eb74e1b3b0490eac24..c1173e3ddbf003461e9a8f52c1e40f52556ae5ca 100644
(file)
--- a/
clang/lib/Driver/Driver.cpp
+++ b/
clang/lib/Driver/Driver.cpp
@@
-3498,7
+3498,7
@@
void Driver::BuildActions(Compilation &C, DerivedArgList &Args,
Actions.push_back(
C.MakeAction<IfsMergeJobAction>(MergerInputs, types::TY_Image));
- if (Arg
*A = Args.getLast
Arg(options::OPT_emit_interface_stubs)) {
+ if (Arg
s.has
Arg(options::OPT_emit_interface_stubs)) {
llvm::SmallVector<phases::ID, phases::MaxNumberOfPhases> PhaseList;
if (Args.hasArg(options::OPT_c)) {
llvm::SmallVector<phases::ID, phases::MaxNumberOfPhases> CompilePhaseList;