aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/ModuleMap.cpp
diff options
context:
space:
mode:
authorAlexander Batashev <alexbatashev@gmail.com>2023-11-24 15:13:39 +0300
committerGitHub <noreply@github.com>2023-11-24 15:13:39 +0300
commita4ee55fe6ea088f55bf44236bd05f6a847a3de6c (patch)
treee830279746529120cd44d8053b798d997ebccc84 /clang/lib/Lex/ModuleMap.cpp
parent6bdeb53ed9ad85fc16f495120b4e2382c4bdaafa (diff)
downloadllvm-a4ee55fe6ea088f55bf44236bd05f6a847a3de6c.zip
llvm-a4ee55fe6ea088f55bf44236bd05f6a847a3de6c.tar.gz
llvm-a4ee55fe6ea088f55bf44236bd05f6a847a3de6c.tar.bz2
[MLIR][NFC] Fix build on recent GCC with C++20 enabled (#73308)
The following pattern fails on recent GCC versions with -std=c++20 flag passed and succeeds with -std=c++17. Such behavior is not observed on Clang 16.0. ``` template <typename T> struct Foo { Foo<T>(int a) {} }; ``` This patch removes template parameter from constructor in two occurences to make the following command complete successfully: bazel build -c fastbuild --cxxopt=-std=c++20 --host_cxxopt=-std=c++20 @llvm-project//mlir/... This patch is similar to https://reviews.llvm.org/D154782 Co-authored-by: Alexander Batashev <a.batashev@partner.samsung.com>
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions