aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
diff options
context:
space:
mode:
authorcor3ntin <corentinjabot@gmail.com>2024-09-04 10:38:18 +0200
committerGitHub <noreply@github.com>2024-09-04 10:38:18 +0200
commit030e4d0cdf4c43a6ec1ca301b5a358991fa2ac4f (patch)
tree4dfee80f4b79eb4ccf995607ba3f2dd7aa3c937a /llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
parent12d678a8eb11821e20eab86445f0cc9b66c24990 (diff)
downloadllvm-030e4d0cdf4c43a6ec1ca301b5a358991fa2ac4f.zip
llvm-030e4d0cdf4c43a6ec1ca301b5a358991fa2ac4f.tar.gz
llvm-030e4d0cdf4c43a6ec1ca301b5a358991fa2ac4f.tar.bz2
[Clang] Treat default template argument as constant expressions (#107073)
We only check that a default argument is a converted constant expression when using the default argument. However, when parsing a default argument, we need to make sure to parse it as a constant expression such as not ODR-use variables. (otherwise, we would try to capture default template arguments of generic lambdas) Fixes #107048
Diffstat (limited to 'llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp')
0 files changed, 0 insertions, 0 deletions