While in the area, also change some unsigned variables to size_t, and
introduce an LLVM_FALLTHROUGH instead of a comment stating that.
Details
Details
Diff Detail
Diff Detail
Event Timeline
lib/Lex/PPLexerChange.cpp | ||
---|---|---|
43 | This wasn't a reverse loop? Also I think at this point writing it with none_of is more readable: return std::none_of(IncludeMacroStack.begin() + 1, IncludeMacroStack.end(), IsFileLexer); |
This wasn't a reverse loop?
Also I think at this point writing it with none_of is more readable: