diff options
author | Louis Dionne <ldionne.2@gmail.com> | 2023-02-06 16:11:14 -0800 |
---|---|---|
committer | Louis Dionne <ldionne.2@gmail.com> | 2023-02-07 07:35:33 -0800 |
commit | c5c329b75287b070f1ac005493e0392a5041311a (patch) | |
tree | 8de9a10babd818964e51475024ace542131d3d5e /clang/lib/Basic/FileManager.cpp | |
parent | 8c718dc9c118c09a592c1fc2fca32ffa262de3d5 (diff) | |
download | llvm-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