aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2020-11-20 11:29:27 +0200
committerMartin Storsjö <martin@martin.st>2020-12-01 10:07:53 +0200
commit2e5aaf65a344ae804343bfed6326ef33f61586b0 (patch)
tree791292527738d3541a6b2311ed1e8e259cfc483b /clang/lib/Frontend/CompilerInvocation.cpp
parent31eeac915a0a25c2690b956931c77684bc34da0b (diff)
downloadllvm-2e5aaf65a344ae804343bfed6326ef33f61586b0.zip
llvm-2e5aaf65a344ae804343bfed6326ef33f61586b0.tar.gz
llvm-2e5aaf65a344ae804343bfed6326ef33f61586b0.tar.bz2
[compiler-rt] [emutls] Handle unused parameters in a compiler agnostic way
The MSVC specific pragmas disable this warning, but the pragmas themselves (when not guarded by any _MSC_VER ifdef) cause warnings for other targets, e.g. when targeting mingw. Instead silence the MSVC warnings about unused parameters by casting the parameters to void. Differential Revision: https://reviews.llvm.org/D91851
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions