mirror of
https://github.com/intel/llvm.git
synced 2026-01-28 01:04:49 +08:00
Fix an assertion.
llvm-svn: 118202
This commit is contained in:
@@ -130,7 +130,7 @@ public:
|
||||
}
|
||||
|
||||
ASTUnit &getCurrentASTUnit() const {
|
||||
assert(!CurrentASTUnit && "No current AST unit!");
|
||||
assert(CurrentASTUnit && "No current AST unit!");
|
||||
return *CurrentASTUnit;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user