diff options
author | Petr Hosek <phosek@google.com> | 2020-10-06 12:26:55 -0700 |
---|---|---|
committer | Petr Hosek <phosek@google.com> | 2020-10-14 18:26:56 -0700 |
commit | 287c318690f19fcbe337211278798d97ccf7884e (patch) | |
tree | e4319ffa4943a8e882b4bb20d57389b356e682c3 /clang/lib/Basic/SourceLocation.cpp | |
parent | f7f2e4261a98b2da519d58e7f6794b013cda7a4b (diff) | |
download | llvm-287c318690f19fcbe337211278798d97ccf7884e.zip llvm-287c318690f19fcbe337211278798d97ccf7884e.tar.gz llvm-287c318690f19fcbe337211278798d97ccf7884e.tar.bz2 |
[CMake] Avoid accidental C++ standard library dependency in sanitizers
While sanitizers don't use C++ standard library, we could still end
up accidentally including or linking it just by the virtue of using
the C++ compiler. Pass -nostdinc++ and -nostdlib++ to avoid these
accidental dependencies.
Differential Revision: https://reviews.llvm.org/D88922
Diffstat (limited to 'clang/lib/Basic/SourceLocation.cpp')
0 files changed, 0 insertions, 0 deletions