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

Chandler Carruth chandlerc at google.com
Tue Dec 11 02:59:11 PST 2012


On Tue, Dec 11, 2012 at 2:49 AM, Joey Gouly <joey.gouly at arm.com> wrote:

> ================
> 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.


I'm looking into just such a systematic change, but itwill be a significant
undertaking.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20121211/2021dab6/attachment.html>


More information about the cfe-commits mailing list