[all-commits] [llvm/llvm-project] 8c4840: Wrap C APIs with pragmas enforcing -Werror=strict-...
Duncan P. N. Exon Smith via All-commits
all-commits at lists.llvm.org
Tue Nov 19 13:18:50 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 8c48405069085a2c8b6b80816eda99e5dad31fc1
https://github.com/llvm/llvm-project/commit/8c48405069085a2c8b6b80816eda99e5dad31fc1
Author: Duncan P. N. Exon Smith <dexonsmith at apple.com>
Date: 2019-11-19 (Tue, 19 Nov 2019)
Changed paths:
M clang/include/clang-c/BuildSystem.h
M clang/include/clang-c/CXCompilationDatabase.h
M clang/include/clang-c/CXErrorCode.h
M clang/include/clang-c/CXString.h
M clang/include/clang-c/Documentation.h
A clang/include/clang-c/ExternC.h
M clang/include/clang-c/FatalErrorHandler.h
M clang/include/clang-c/Index.h
M clang/include/clang-c/Platform.h
M llvm/include/llvm-c/Analysis.h
M llvm/include/llvm-c/BitReader.h
M llvm/include/llvm-c/BitWriter.h
M llvm/include/llvm-c/Comdat.h
M llvm/include/llvm-c/Core.h
M llvm/include/llvm-c/DebugInfo.h
M llvm/include/llvm-c/Disassembler.h
M llvm/include/llvm-c/Error.h
M llvm/include/llvm-c/ErrorHandling.h
M llvm/include/llvm-c/ExecutionEngine.h
A llvm/include/llvm-c/ExternC.h
M llvm/include/llvm-c/IRReader.h
M llvm/include/llvm-c/Initialization.h
M llvm/include/llvm-c/LinkTimeOptimizer.h
M llvm/include/llvm-c/Linker.h
M llvm/include/llvm-c/Object.h
M llvm/include/llvm-c/OrcBindings.h
M llvm/include/llvm-c/Remarks.h
M llvm/include/llvm-c/Support.h
M llvm/include/llvm-c/Target.h
M llvm/include/llvm-c/TargetMachine.h
M llvm/include/llvm-c/Transforms/AggressiveInstCombine.h
M llvm/include/llvm-c/Transforms/Coroutines.h
M llvm/include/llvm-c/Transforms/IPO.h
M llvm/include/llvm-c/Transforms/InstCombine.h
M llvm/include/llvm-c/Transforms/PassManagerBuilder.h
M llvm/include/llvm-c/Transforms/Scalar.h
M llvm/include/llvm-c/Transforms/Utils.h
M llvm/include/llvm-c/Transforms/Vectorize.h
M llvm/include/llvm-c/Types.h
M llvm/include/llvm-c/lto.h
Log Message:
-----------
Wrap C APIs with pragmas enforcing -Werror=strict-prototypes
Force `-Werror=strict-prototypes` so that C API tests fail to compile if
we add a non-prototype declaration. This should help avoid regressions
like bddecba4b333f7772029b4937d2c34f9f2fda6ca was fixing.
https://reviews.llvm.org/D70285
rdar://problem/57203137
More information about the All-commits
mailing list