summaryrefslogtreecommitdiffstats
path: root/clang/tools/driver/cc1as_main.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2010-11-19 00:19:18 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2010-11-19 00:19:18 +0000
commit5c26cda273fc6ef7614f47c81be62e442a06af38 (patch)
treebcb7f13e4ef03d7f347354abaebe4a2930b55458 /clang/tools/driver/cc1as_main.cpp
parentf51ec1d12ba3a9b5f36d65e32a6ec22b2a051016 (diff)
downloadbcm5719-llvm-5c26cda273fc6ef7614f47c81be62e442a06af38.tar.gz
bcm5719-llvm-5c26cda273fc6ef7614f47c81be62e442a06af38.zip
getNumErrors() -> hasErrorOccurred()
llvm-svn: 119765
Diffstat (limited to 'clang/tools/driver/cc1as_main.cpp')
-rw-r--r--clang/tools/driver/cc1as_main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/tools/driver/cc1as_main.cpp b/clang/tools/driver/cc1as_main.cpp
index 6159f4b192e..fb68d07ab25 100644
--- a/clang/tools/driver/cc1as_main.cpp
+++ b/clang/tools/driver/cc1as_main.cpp
@@ -368,7 +368,7 @@ int cc1as_main(const char **ArgBegin, const char **ArgEnd,
// Execute the invocation, unless there were parsing errors.
bool Success = false;
- if (!Diags.getNumErrors())
+ if (!Diags.hasErrorOccurred())
Success = ExecuteAssembler(Asm, Diags);
// If any timers were active but haven't been destroyed yet, print their
OpenPOWER on IntegriCloud