[cfe-commits] r74217 - in /cfe/trunk: include/clang/Basic/LangOptions.h tools/clang-cc/clang-cc.cpp
Douglas Gregor
dgregor at apple.com
Thu Jun 25 15:45:55 PDT 2009
On Jun 25, 2009, at 3:43 PM, Nate Begeman wrote:
> Author: sampo
> Date: Thu Jun 25 17:43:10 2009
> New Revision: 74217
>
> URL: http://llvm.org/viewvc/llvm-project?rev=74217&view=rev
> Log:
> OpenCL 1.0 patch 2/N: Language options & file extension
>
> Modified:
> cfe/trunk/include/clang/Basic/LangOptions.h
> cfe/trunk/tools/clang-cc/clang-cc.cpp
>
> Modified: cfe/trunk/include/clang/Basic/LangOptions.h
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/LangOptions.h?rev=74217&r1=74216&r2=74217&view=diff
>
> =
> =
> =
> =
> =
> =
> =
> =
> ======================================================================
> --- cfe/trunk/include/clang/Basic/LangOptions.h (original)
> +++ cfe/trunk/include/clang/Basic/LangOptions.h Thu Jun 25 17:43:10
> 2009
> @@ -43,6 +43,7 @@
> unsigned PascalStrings : 1; // Allow Pascal strings
> unsigned WritableStrings : 1; // Allow writable strings
> unsigned LaxVectorConversions : 1;
> + unsigned AltiVec : 1; // Support AltiVec-style vector
> initializers.
> unsigned Exceptions : 1; // Support exception handling.
>
> unsigned NeXTRuntime : 1; // Use NeXT runtime.
> @@ -80,6 +81,10 @@
> unsigned AccessControl : 1; // Whether C++ access control should
> // be enabled.
> unsigned CharIsSigned : 1; // Whether char is a signed or
> unsigned type
> +
> + unsigned OpenCL : 1; // OpenCL C99 language extensions.
> +
> +
Please update the PCH reader and writer with the AltiVec and OpenCL
flags (for validating PCH files).
- Doug
More information about the cfe-commits
mailing list