[cfe-commits] r77552 - in /cfe/trunk/include/clang/Basic: DiagnosticCommonKinds.td DiagnosticGroups.td

Douglas Gregor dgregor at apple.com
Thu Jul 30 08:31:07 PDT 2009


On Jul 29, 2009, at 5:04 PM, Eli Friedman wrote:
> =
> =
> =
> =
> =
> =
> =
> =
> ======================================================================
> --- cfe/trunk/include/clang/Basic/DiagnosticCommonKinds.td (original)
> +++ cfe/trunk/include/clang/Basic/DiagnosticCommonKinds.td Wed Jul  
> 29 19:04:39 2009
> @@ -41,7 +41,8 @@
>
> // Sema && Lex
> def ext_longlong : Extension<
> -  "'long long' is an extension when C99 mode is not enabled">;
> +  "'long long' is an extension when C99 mode is not enabled">,
> +  InGroup<LongLong>;

This should probably be

   "'long long' is an extension when %select{C99|C++0x}0 mode is not  
enabled"

where the argument is getLang().CPlusPlus.

	- Doug



More information about the cfe-commits mailing list