aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Frontend/FrontendAction.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/clang/Frontend/FrontendAction.h')
-rw-r--r--include/clang/Frontend/FrontendAction.h2
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;
}