]> granicus.if.org Git - clang/commitdiff
Fix typo from r206232
authorRichard Trieu <rtrieu@google.com>
Tue, 15 Apr 2014 01:06:38 +0000 (01:06 +0000)
committerRichard Trieu <rtrieu@google.com>
Tue, 15 Apr 2014 01:06:38 +0000 (01:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@206234 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/AnalysisDeclContext.cpp

index ef9ce56c9bded43f58cfdb58e5d2aa7548deb4c5..fa4bd33fa17c50ae6c81ed1d34530eaa6915ff74 100644 (file)
@@ -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();