Add -std=c++11 and -std=gnu++11 language flags, from Ahmed Charles

llvm-svn: 141785
This commit is contained in:
Douglas Gregor 2011-10-12 17:32:39 +00:00
parent 03267a7068
commit a5542112d7
1 changed files with 8 additions and 2 deletions

View File

@ -80,10 +80,16 @@ LANGSTANDARD(gnucxx98, "gnu++98",
BCPLComment | CPlusPlus | Digraphs | GNUMode)
LANGSTANDARD(cxx0x, "c++0x",
"Upcoming ISO C++ 200x with amendments",
"ISO C++ 2011 with amendments",
BCPLComment | CPlusPlus | CPlusPlus0x | Digraphs)
LANGSTANDARD(cxx11, "c++11",
"ISO C++ 2011 with amendments",
BCPLComment | CPlusPlus | CPlusPlus0x | Digraphs)
LANGSTANDARD(gnucxx0x, "gnu++0x",
"Upcoming ISO C++ 200x with amendments and GNU extensions",
"ISO C++ 2011 with amendments and GNU extensions",
BCPLComment | CPlusPlus | CPlusPlus0x | Digraphs | GNUMode)
LANGSTANDARD(gnucxx11, "gnu++11",
"ISO C++ 2011 with amendments and GNU extensions",
BCPLComment | CPlusPlus | CPlusPlus0x | Digraphs | GNUMode)
// OpenCL