Changes
Summary
- [llvm-c] Make LLVMGetStringErrorTypeId a proper prototype In C a function declaration with an empty argument list isn't a real prototype, it will allow calling the function with any number of arguments. It will also cause warnings when used in C code compiled with '-Wstrict-prototypes' Reviewed By: whitequark Differential Revision: https://reviews.llvm.org/D61568
Change Type | Path in Repository | Path in Workspace |
---|---|---|
![]() | /llvm/trunk/include/llvm-c/Error.h | trunk/include/llvm-c/Error.h |
Summary
- P1286R2: Remove restriction that the exception specification of a defaulted special member matches the implicit exception specification.
- Use DiagRuntimeBehavior for -Wunsequenced to weed out false positives where either the modification or the other access is unreachable. This reverts r359984 (which reverted r359962). The bug in clang-tidy's test suite exposed by the original commit was fixed in r360009.
Summary
- Fix test to avoid assuming clang will diagnose problems in unreachable code.
Change Type | Path in Repository | Path in Workspace |
---|---|---|
![]() | /clang-tools-extra/trunk/clangd/unittests/DiagnosticsTests.cpp | trunk/clangd/unittests/DiagnosticsTests.cpp |