commit | f1410802d1c9e7ff72b2818ad91fd85283abc6bf | [log] [tgz] |
---|---|---|
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Wed Nov 03 22:45:13 2010 +0000 |
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Wed Nov 03 22:45:13 2010 +0000 |
tree | 3d3d2dd210c4a2696a2927129d7c3807914613e2 | |
parent | 9fa8e569407e02148888136609431a3fe083096d [diff] |
Fix an assertion. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@118202 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/include/clang/Frontend/FrontendAction.h b/include/clang/Frontend/FrontendAction.h index 773543a..f659b2f 100644 --- a/include/clang/Frontend/FrontendAction.h +++ b/include/clang/Frontend/FrontendAction.h
@@ -130,7 +130,7 @@ } ASTUnit &getCurrentASTUnit() const { - assert(!CurrentASTUnit && "No current AST unit!"); + assert(CurrentASTUnit && "No current AST unit!"); return *CurrentASTUnit; }