[cfe-commits] r120543 - /cfe/trunk/include/clang/Basic/LangOptions.h
Peter Collingbourne
peter at pcc.me.uk
Tue Nov 30 19:15:10 PST 2010
Author: pcc
Date: Tue Nov 30 21:15:10 2010
New Revision: 120543
URL: http://llvm.org/viewvc/llvm-project?rev=120543&view=rev
Log:
Basic: Add CUDA language option
Modified:
cfe/trunk/include/clang/Basic/LangOptions.h
Modified: cfe/trunk/include/clang/Basic/LangOptions.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/LangOptions.h?rev=120543&r1=120542&r2=120543&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/LangOptions.h (original)
+++ cfe/trunk/include/clang/Basic/LangOptions.h Tue Nov 30 21:15:10 2010
@@ -94,6 +94,7 @@
// smallest integer type with enough room.
unsigned OpenCL : 1; // OpenCL C99 language extensions.
+ unsigned CUDA : 1; // CUDA C++ language extensions.
unsigned AssumeSaneOperatorNew : 1; // Whether to add __attribute__((malloc))
// to the declaration of C++'s new
@@ -157,7 +158,7 @@
RTTI = 1;
LaxVectorConversions = 1;
HeinousExtensions = 0;
- AltiVec = OpenCL = StackProtector = 0;
+ AltiVec = OpenCL = CUDA = StackProtector = 0;
SymbolVisibility = (unsigned) DefaultVisibility;
More information about the cfe-commits
mailing list