- add an assertion;
- remove the changes introduced in https://github.com/llvm/llvm-project/commit/4a962f03bebef9e3c7d501580357a303638b2700, looks like clang can handle that well at the moment, the diagnostic seems better;
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Event Timeline
clang/lib/Sema/SemaDecl.cpp | ||
---|---|---|
11072 | openCL for C++ is tricky, see https://github.com/llvm/llvm-project/blob/master/clang/lib/Sema/SemaDecl.cpp#L12134-L12135. |
clang/test/SemaCXX/compound-literal.cpp | ||
---|---|---|
92 | hmm, clang will crash at CodeGen again if we turn off the -Wuninitialized warning. |
openCL for C++ is tricky, see https://github.com/llvm/llvm-project/blob/master/clang/lib/Sema/SemaDecl.cpp#L12134-L12135.