aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/FileManager.cpp
diff options
context:
space:
mode:
authorLouis Dionne <ldionne.2@gmail.com>2023-02-06 16:11:14 -0800
committerLouis Dionne <ldionne.2@gmail.com>2023-02-07 07:35:33 -0800
commitc5c329b75287b070f1ac005493e0392a5041311a (patch)
tree8de9a10babd818964e51475024ace542131d3d5e /clang/lib/Basic/FileManager.cpp
parent8c718dc9c118c09a592c1fc2fca32ffa262de3d5 (diff)
downloadllvm-c5c329b75287b070f1ac005493e0392a5041311a.zip
llvm-c5c329b75287b070f1ac005493e0392a5041311a.tar.gz
llvm-c5c329b75287b070f1ac005493e0392a5041311a.tar.bz2
[libc++] Use __builtin_FILE and __builtin_LINE in _LIBCPP_ASSERT
This avoids theoretical potential ODR violations since __LINE__ and __FILE__ expand to different things depending on where they are. Differential Revision: https://reviews.llvm.org/D143443
Diffstat (limited to 'clang/lib/Basic/FileManager.cpp')
0 files changed, 0 insertions, 0 deletions