diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-10-18 22:42:31 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-10-18 22:42:31 +0000 |
commit | f552d3841b6532f7185dd022248aec793e6122bc (patch) | |
tree | f882fba7c6bc258ac07780a530b6745539488bf7 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | c9d645d30619ffad3e256928cb3d8cdc4c541998 (diff) | |
download | bcm5719-llvm-f552d3841b6532f7185dd022248aec793e6122bc.tar.gz bcm5719-llvm-f552d3841b6532f7185dd022248aec793e6122bc.zip |
Revert r166223 and the subsequent commits that depend on it, r166230 & r166235.
This seems to have introduced assertion hit when building compiler-rt.
llvm-svn: 166245
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r-- | clang/lib/Frontend/CompilerInvocation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp index 4f0cfa80019..5327951ab70 100644 --- a/clang/lib/Frontend/CompilerInvocation.cpp +++ b/clang/lib/Frontend/CompilerInvocation.cpp @@ -2330,7 +2330,7 @@ bool CompilerInvocation::CreateFromArgs(CompilerInvocation &Res, // Issue errors on arguments that are not valid for CC1. for (ArgList::iterator I = Args->begin(), E = Args->end(); I != E; ++I) { - if (!(*I)->getOption().hasFlag(options::CC1Option)) { + if (!(*I)->getOption().isCC1Option()) { Diags.Report(diag::err_drv_unknown_argument) << (*I)->getAsString(*Args); Success = false; } |