aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Analysis/AnalysisDeclContext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/Analysis/AnalysisDeclContext.cpp')
-rw-r--r--clang/lib/Analysis/AnalysisDeclContext.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Analysis/AnalysisDeclContext.cpp b/clang/lib/Analysis/AnalysisDeclContext.cpp
index ef9ce56..fa4bd33 100644
--- a/clang/lib/Analysis/AnalysisDeclContext.cpp
+++ b/clang/lib/Analysis/AnalysisDeclContext.cpp
@@ -190,7 +190,7 @@ CFG *AnalysisDeclContext::getCFG() {
if (PM)
addParentsForSyntheticStmts(cfg.get(), *PM);
- // The Obersver should only observe one build of the CFG.
+ // The Observer should only observe one build of the CFG.
getCFGBuildOptions().Observer = 0;
}
return cfg.get();
@@ -209,7 +209,7 @@ CFG *AnalysisDeclContext::getUnoptimizedCFG() {
if (PM)
addParentsForSyntheticStmts(completeCFG.get(), *PM);
- // The Obersver should only observe one build of the CFG.
+ // The Observer should only observe one build of the CFG.
getCFGBuildOptions().Observer = 0;
}
return completeCFG.get();