[PATCH] D59977: [Lexer] Fix an off-by-one bug in Lexer::getAsCharRange() - NFC.
Alexander Kornienko via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 8 01:24:07 PDT 2019
alexfh added a comment.
It looks like there's a number of users of this function beyond what you've mentioned:
clang-tidy/readability/IsolateDeclarationCheck.cpp:210
clang-tidy/modernize/ConcatNestedNamespacesCheck.cpp:43
clang-tidy/readability/NamespaceCommentCheck.cpp:106
clang/lib/ARCMigrate/PlistReporter.cpp:110
clang/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp:192
Could you take a brief look at those as well?
================
Comment at: cfe/trunk/include/clang/Basic/PlistSupport.h:134
+ // even though it is incorrect.
+ EmitLocation(o, SM, R.getEnd().getLocWithOffset(-1), FM, indent + 1);
Indent(o, indent) << "</array>\n";
----------------
What kind of backwards compatibility are you trying to achieve? Where would the version skew come from?
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D59977/new/
https://reviews.llvm.org/D59977
More information about the llvm-commits
mailing list