diff options
author | Ted Kremenek <kremenek@apple.com> | 2011-11-30 21:22:09 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2011-11-30 21:22:09 +0000 |
commit | 5dfee06daa359bbe0f3c9de055b8a02d61a05173 (patch) | |
tree | 2ad77a4bd7ba8c31c073121306f80d9b5156008e /lib/CodeGen/CodeGenAction.cpp | |
parent | e25633f777cfcaa564b4ed36cec37d6e6e1ecb04 (diff) |
Don't run -Wunreachable-code on template instantiations. Different instantiations may produce different unreachable code results, and it is very difficult for us to prove that ALL instantiations of a template have specific unreachable code. If we come up with a better solution, then we can revisit this, but this approach will at least greatly reduce the noise of this warning for code that makes use of templates.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145520 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenAction.cpp')
0 files changed, 0 insertions, 0 deletions