]> granicus.if.org Git - clang/commitdiff
Fix typo in comment
authorDouglas Gregor <dgregor@apple.com>
Tue, 26 Jan 2010 19:43:43 +0000 (19:43 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 26 Jan 2010 19:43:43 +0000 (19:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94576 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Lex/PPMacroExpansion.cpp

index 13aeb88b1db0d36ca7e995f04b15883561331151..d0480b8e508c4ed9ac0e73bef98d0cbf5976a2d6 100644 (file)
@@ -152,7 +152,7 @@ bool Preprocessor::HandleMacroExpandedIdentifier(Token &Identifier,
                                                  MacroInfo *MI) {
   if (Callbacks) Callbacks->MacroExpands(Identifier, MI);
 
-  // If this is a macro exapnsion in the "#if !defined(x)" line for the file,
+  // If this is a macro expansion in the "#if !defined(x)" line for the file,
   // then the macro could expand to different things in other contexts, we need
   // to disable the optimization in this case.
   if (CurPPLexer) CurPPLexer->MIOpt.ExpandedMacro();