bloomberg / clangmetatool

A framework for reusing code in Clang tools
https://bloomberg.github.io/clangmetatool/
Apache License 2.0
119 stars 25 forks source link

Use the same compile flags as LLVM when building #39

Closed dbeer1 closed 5 years ago

dbeer1 commented 5 years ago

Closes #36

Describe your changes Use the compile flags in the LLVM config when building clangmetatool. This mostly affects RTTI and exception support.

Testing performed Built clangmetatool and application that depends on clangmetatool. Checked that if LLVM is configured without -DLLVM_ENABLE_RTTI=1, then clangmetatool has RTTI off as well.

CC: @ruoso