aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Format/MacroExpander.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/Format/MacroExpander.cpp')
-rw-r--r--clang/lib/Format/MacroExpander.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Format/MacroExpander.cpp b/clang/lib/Format/MacroExpander.cpp
index 85a53c9..445e173 100644
--- a/clang/lib/Format/MacroExpander.cpp
+++ b/clang/lib/Format/MacroExpander.cpp
@@ -86,7 +86,7 @@ private:
}
bool parseExpansion() {
- if (!Current->isOneOf(tok::equal, tok::eof))
+ if (Current->isNoneOf(tok::equal, tok::eof))
return false;
if (Current->is(tok::equal))
nextToken();