diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2010-11-03 22:45:13 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2010-11-03 22:45:13 +0000 |
commit | f1410802d1c9e7ff72b2818ad91fd85283abc6bf (patch) | |
tree | 3d3d2dd210c4a2696a2927129d7c3807914613e2 /include/clang/Frontend/FrontendAction.h | |
parent | 9fa8e569407e02148888136609431a3fe083096d (diff) |
Fix an assertion.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@118202 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Frontend/FrontendAction.h')
-rw-r--r-- | include/clang/Frontend/FrontendAction.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/Frontend/FrontendAction.h b/include/clang/Frontend/FrontendAction.h index 773543ac06..f659b2f42e 100644 --- a/include/clang/Frontend/FrontendAction.h +++ b/include/clang/Frontend/FrontendAction.h @@ -130,7 +130,7 @@ public: } ASTUnit &getCurrentASTUnit() const { - assert(!CurrentASTUnit && "No current AST unit!"); + assert(CurrentASTUnit && "No current AST unit!"); return *CurrentASTUnit; } |