diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2020-02-02 10:49:03 -0800 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2020-02-02 13:19:23 -0800 |
commit | 9b84dabc5f36f7e027c62b5c00ea97e21cfcacdd (patch) | |
tree | 82da310aaa28321304d3c390d52600e496be833e /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 34cd354ea967a6aecee4133fe43e4879355c6dbe (diff) | |
download | llvm-9b84dabc5f36f7e027c62b5c00ea97e21cfcacdd.zip llvm-9b84dabc5f36f7e027c62b5c00ea97e21cfcacdd.tar.gz llvm-9b84dabc5f36f7e027c62b5c00ea97e21cfcacdd.tar.bz2 |
build: only pass -UNDEBUG when compiling C/C++
This patch limits adding -UNDEBUG to C and C++ files so that projects
can include files compiled with compilers that don't recognize this
argument (Swift e.g.).
add_definitions does not expand generators, hence the change from
add_definitions to add_compile_options.
Patch by Evan Wilde!
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions