aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorYitzhak Mandelbaum <yitzhakm@google.com>2020-12-22 15:02:56 +0000
committerYitzhak Mandelbaum <yitzhakm@google.com>2021-01-15 03:08:56 +0000
commit1fabe6e51917bcd7a1242294069c682fe6dffa45 (patch)
tree4bcef7e80a28be232c6a7db7f24c147f29c69c43 /clang/lib/Frontend/CompilerInvocation.cpp
parent214387c2c694c92fec713f7ad224f10c1aebc1cf (diff)
downloadllvm-1fabe6e51917bcd7a1242294069c682fe6dffa45.zip
llvm-1fabe6e51917bcd7a1242294069c682fe6dffa45.tar.gz
llvm-1fabe6e51917bcd7a1242294069c682fe6dffa45.tar.bz2
[libTooling] Change `addInclude` to use expansion locs.
This patch changes the default range used to anchor the include insertion to use an expansion loc. This ensures that the location is valid, when the user relies on the default range. Driveby: extend a FIXME for a problem that was emphasized by this change; fix some spellings. Differential Revision: https://reviews.llvm.org/D93703
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions