[clang][AST] NULL
node for function template body with -target x86_64-pc-win32
pre c++20
#71203
Labels
clang:frontend
Language frontend issues, e.g. anything involving "Sema"
question
A question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!
This bug was found during #70559.
Repro case:
Clang creates valid ASTs for this snippet with:
-target x86_64-pc-win32 -std=c++20
-std=c++17
(linux)-std=c++20
(linux)But not with:
-target x86_64-pc-win32 -std=c++17
-target x86_64-pc-win32 -std=c++14
-target x86_64-pc-win32 -std=c++11
https://godbolt.org/z/9v98vnbsx
vs
The text was updated successfully, but these errors were encountered: