summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp
diff options
context:
space:
mode:
authorLogan Smith <logan.r.smith0@gmail.com>2020-07-22 17:44:52 -0700
committerLogan Smith <logan.r.smith0@gmail.com>2020-07-22 17:50:19 -0700
commit77e0e9e17daf0865620abcd41f692ab0642367c4 (patch)
tree0756b0942faa742de5492ed4412962b353d88f6f /llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp
parentebe5f17f9c396f14742a7c747951b65eaada158e (diff)
Reapply "Try enabling -Wsuggest-override again, using add_compile_options instead of add_compile_definitions for disabling it in unittests/ directories."
add_compile_options is more sensitive to its location in the file than add_definitions--it only takes effect for sources that are added after it. This updated patch ensures that the add_compile_options is done before adding any source files that depend on it. Using add_definitions caused the flag to be passed to rc.exe on Windows and thus broke Windows builds.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp')
0 files changed, 0 insertions, 0 deletions