aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Frontend/CompilerInstance.h
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-12-01 21:57:27 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-12-01 21:57:27 +0000
commitc4e265f67e63d870b4a188be5af1bcd848214802 (patch)
treeae0fc99610394fbe1e20c4b330198c96afd56793 /include/clang/Frontend/CompilerInstance.h
parentec2a4ed278a1112ebf84fdcb80ed66f53d8ec8ba (diff)
Fix typo.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90262 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Frontend/CompilerInstance.h')
-rw-r--r--include/clang/Frontend/CompilerInstance.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/Frontend/CompilerInstance.h b/include/clang/Frontend/CompilerInstance.h
index d7e7d991f3..007006d493 100644
--- a/include/clang/Frontend/CompilerInstance.h
+++ b/include/clang/Frontend/CompilerInstance.h
@@ -222,7 +222,7 @@ public:
void setDiagnostics(Diagnostic *Value);
DiagnosticClient &getDiagnosticClient() const {
- assert(Target && "Compiler instance has no diagnostic client!");
+ assert(DiagClient && "Compiler instance has no diagnostic client!");
return *DiagClient;
}