aboutsummaryrefslogtreecommitdiff
path: root/lib/Lex
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-01-26 19:43:43 +0000
committerDouglas Gregor <dgregor@apple.com>2010-01-26 19:43:43 +0000
commit1367897633c2f5bb77f97cb05c76d5f80ead9976 (patch)
tree9383097f85b48cca7a3f8120f50e4e0b38a57742 /lib/Lex
parent16b55a71695a33c094383295cc7b7a2080e098da (diff)
Fix typo in comment
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94576 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Lex')
-rw-r--r--lib/Lex/PPMacroExpansion.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Lex/PPMacroExpansion.cpp b/lib/Lex/PPMacroExpansion.cpp
index 13aeb88b1d..d0480b8e50 100644
--- a/lib/Lex/PPMacroExpansion.cpp
+++ b/lib/Lex/PPMacroExpansion.cpp
@@ -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();