[cfe-commits] r118202 - /cfe/trunk/include/clang/Frontend/FrontendAction.h
Argyrios Kyrtzidis
akyrtzi at gmail.com
Wed Nov 3 15:45:13 PDT 2010
Author: akirtzidis
Date: Wed Nov 3 17:45:13 2010
New Revision: 118202
URL: http://llvm.org/viewvc/llvm-project?rev=118202&view=rev
Log:
Fix an assertion.
Modified:
cfe/trunk/include/clang/Frontend/FrontendAction.h
Modified: cfe/trunk/include/clang/Frontend/FrontendAction.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Frontend/FrontendAction.h?rev=118202&r1=118201&r2=118202&view=diff
==============================================================================
--- cfe/trunk/include/clang/Frontend/FrontendAction.h (original)
+++ cfe/trunk/include/clang/Frontend/FrontendAction.h Wed Nov 3 17:45:13 2010
@@ -130,7 +130,7 @@
}
ASTUnit &getCurrentASTUnit() const {
- assert(!CurrentASTUnit && "No current AST unit!");
+ assert(CurrentASTUnit && "No current AST unit!");
return *CurrentASTUnit;
}
More information about the cfe-commits
mailing list