summaryrefslogtreecommitdiffstats
path: root/clang/lib/Lex/PPLexerChange.cpp
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2017-09-18 04:55:31 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2017-09-18 04:55:31 +0000
commita5b348be9d4e68bab02055fc4fbc33579628e285 (patch)
tree9939e1c87258a90ba7c2074ca32485493b6d6022 /clang/lib/Lex/PPLexerChange.cpp
parenta6054328e8b31217bec6e6d5dcbb28ca304d48d1 (diff)
downloadbcm5719-llvm-a5b348be9d4e68bab02055fc4fbc33579628e285.tar.gz
bcm5719-llvm-a5b348be9d4e68bab02055fc4fbc33579628e285.zip
Reformat.
llvm-svn: 313510
Diffstat (limited to 'clang/lib/Lex/PPLexerChange.cpp')
-rw-r--r--clang/lib/Lex/PPLexerChange.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/clang/lib/Lex/PPLexerChange.cpp b/clang/lib/Lex/PPLexerChange.cpp
index 36d7028da68..5686871675d 100644
--- a/clang/lib/Lex/PPLexerChange.cpp
+++ b/clang/lib/Lex/PPLexerChange.cpp
@@ -40,10 +40,9 @@ bool Preprocessor::isInPrimaryFile() const {
// If there are any stacked lexers, we're in a #include.
assert(IsFileLexer(IncludeMacroStack[0]) &&
"Top level include stack isn't our primary lexer?");
- return std::none_of(IncludeMacroStack.begin() + 1, IncludeMacroStack.end(),
- [this](const IncludeStackInfo &ISI) -> bool {
- return IsFileLexer(ISI);
- });
+ return std::none_of(
+ IncludeMacroStack.begin() + 1, IncludeMacroStack.end(),
+ [this](const IncludeStackInfo &ISI) -> bool { return IsFileLexer(ISI); });
}
/// getCurrentLexer - Return the current file lexer being lexed from. Note
OpenPOWER on IntegriCloud