[all-commits] [llvm/llvm-project] c5c329: [libc++] Use __builtin_FILE and __builtin_LINE in ...
Louis Dionne via All-commits
all-commits at lists.llvm.org
Tue Feb 7 07:36:13 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c5c329b75287b070f1ac005493e0392a5041311a
https://github.com/llvm/llvm-project/commit/c5c329b75287b070f1ac005493e0392a5041311a
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2023-02-07 (Tue, 07 Feb 2023)
Changed paths:
M libcxx/include/__assert
Log Message:
-----------
[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
More information about the All-commits
mailing list