[PATCH] Fixing warnings revealed by gcc release build
David Blaikie
dblaikie at gmail.com
Tue Jan 29 09:28:40 PST 2013
================
Comment at: lib/Basic/LangOptions.cpp:17
@@ -16,2 +16,3 @@
-const SanitizerOptions SanitizerOptions::Disabled = {};
+const SanitizerOptions SanitizerOptions::Disabled = {
+#define SANITIZER(NAME, ID) 0,
----------------
Not sure of the motivation for this change - shouldn't the {} in the original code produce the same effect (zero initializing all the elements)?
http://llvm-reviews.chandlerc.com/D342
More information about the cfe-commits
mailing list