[cfe-commits] [PATCH] Speed up parsing of global declarations.

Joey Gouly joey.gouly at arm.com
Tue Dec 11 02:49:57 PST 2012



================
Comment at: lib/Sema/SemaDecl.cpp:7242
@@ -7241,2 +7241,3 @@
 
-    if (!prev)
+      if (!prev && getDiagnostics().getDiagnosticLevel(
+                       diag::warn_missing_variable_declarations,
----------------
I'm just wondering if we couldn't make this check on all diagnostics. 


http://llvm-reviews.chandlerc.com/D197



More information about the cfe-commits mailing list