[PATCH] [Sanitizer] Make CommonFlags immutable after initialization.

Kostya Serebryany kcc at google.com
Fri Dec 19 14:57:56 PST 2014


================
Comment at: lib/sanitizer_common/sanitizer_flags.h:91
@@ +90,3 @@
+// time).
+#define OVERRIDE_COMMON_FLAG(flag, value) \
+    common_flags_dont_use.flag = value
----------------
Macro in a header file? You got to be kidding.

http://reviews.llvm.org/D6741

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list