This fixes a nondeterminism on debug info when building on windows natively vs cross building to windows. [1] https://github.com/llvm/llvm-project/blob/llvmorg-17-init/clang/lib/Lex/HeaderSearch.cpp#L465 Differential Revision: https://reviews.llvm.org/D150817
7 lines
100 B
C++
7 lines
100 B
C++
template <typename... T>
|
|
void f1() {}
|
|
void a() {
|
|
auto Lambda = [] {};
|
|
f1<decltype(Lambda)>();
|
|
}
|