Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Don't accept -std= values that would switch us to a different source language. | Richard Smith | 2017-04-26 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | | | | | | We already prohibited this in most cases (in r130710), but had some bugs in our enforcement of this rule. Specifically, this prevents the following combinations: * -x c -std=clN.M, which would previously effectively act as if -x cl were used, despite the input being a C source file. (-x cl -std=cNN continues to be disallowed.) * -x c++ -std=cuda, which would previously select C++98 + CUDA, despite that not being a C++ standard. (-x cuda -std=c++NN is still permitted, and selects CUDA with the given C++ standard as its base language. -x cuda -std=cuda is still supported with the meaning of CUDA + C++98.) * -x renderscript -std=c++NN, which would previously form a hybrid "C++ with RenderScript extensions" language. We could support such a thing, but shouldn't do so by accident. llvm-svn: 301497 | ||||
* | [C++11] Use 'nullptr'. Frontend edition. | Craig Topper | 2014-05-22 | 1 | -1/+1 |
| | | | | llvm-svn: 209389 | ||||
* | Remove unnecessary default cases in switches over enums. | David Blaikie | 2012-01-17 | 1 | -2/+1 |
| | | | | | | This allows -Wswitch-enum to find switches that need updating when these enums are modified. llvm-svn: 148281 | ||||
* | remove unneeded llvm:: namespace qualifiers on some core types now that ↵ | Chris Lattner | 2011-07-23 | 1 | -1/+1 |
| | | | | | | | | LLVM.h imports them into the clang namespace. llvm-svn: 135852 | ||||
* | rename llvm::llvm_report_error -> llvm::report_fatal_error | Chris Lattner | 2010-04-07 | 1 | -1/+1 |
| | | | | llvm-svn: 100708 | ||||
* | Un-namespace-qualify llvm_unreachable. It's a macro, so the qualification gave | Jeffrey Yasskin | 2009-12-12 | 1 | -1/+1 |
| | | | | | | no extra safety anyway. llvm-svn: 91207 | ||||
* | spread 'const' love to some variables. this considerably reduces the amount ↵ | Nuno Lopes | 2009-12-10 | 1 | -1/+1 |
| | | | | | | of dirty data around. llvm-svn: 91002 | ||||
* | Factor out a LangStandard class and coalesce the information about the ↵ | Daniel Dunbar | 2009-11-26 | 1 | -0/+44 |
standards into LangStandards.def - I'd appreciate another pair of eyeballs to double check this. llvm-svn: 89919 |