projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Silence some Win64 clang-cl warnings about unused stuff due to ifdefs
[oota-llvm.git]
/
unittests
/
Support
/
CommandLineTest.cpp
diff --git
a/unittests/Support/CommandLineTest.cpp
b/unittests/Support/CommandLineTest.cpp
index 0b076e3009bc5fc8ffbb6f30eb1c055d7c56ed50..9d7679da511c5b2addd7062f2618a8ba229e9a9f 100644
(file)
--- a/
unittests/Support/CommandLineTest.cpp
+++ b/
unittests/Support/CommandLineTest.cpp
@@
-35,6
+35,8
@@
class TempEnvVar {
#if HAVE_SETENV
// Assume setenv and unsetenv come together.
unsetenv(name);
+#else
+ (void)name; // Suppress -Wunused-private-field.
#endif
}