aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2020-12-23 13:17:45 -0800
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2021-01-11 15:31:04 -0800
commit5ccff5aaa68ab789834c4463ce05b05e57593b34 (patch)
treed86c3070dab3a545dd33aabcb60d2be7be3ae268 /clang/lib/Frontend/CompilerInvocation.cpp
parentec8a6c11db4102ec249ce90084b3f615c5de15e5 (diff)
downloadllvm-5ccff5aaa68ab789834c4463ce05b05e57593b34.zip
llvm-5ccff5aaa68ab789834c4463ce05b05e57593b34.tar.gz
llvm-5ccff5aaa68ab789834c4463ce05b05e57593b34.tar.bz2
ADT: Fix pointer comparison UB in SmallVector
The standard requires comparisons of pointers to unrelated storage to use `std::less`. Split out some helpers that do that and update all the code that was comparing using `<` and friends (mostly assertions). Differential Revision: https://reviews.llvm.org/D93777
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions