Richard Smith
0b3a46247e
PR21437, final part of DR1330: delay-parsing of exception-specifications. This
...
is a re-commit of Doug's r154844 (modernized and updated to fit into current
Clang).
llvm-svn: 221918
2014-11-13 20:01:57 +00:00
Richard Smith
38f7c7bca5
Disable our non-standard delayed parsing of exception specifications. Delaying
...
the parsing of such things appears to be a conforming extension, but it breaks
libstdc++4.7's std::pair.
llvm-svn: 155975
2012-05-02 01:29:43 +00:00
Douglas Gregor
433e05306f
Implement the last part of C++ [class.mem]p2, delaying the parsing of
...
exception specifications on member functions until after the closing
'}' for the containing class. This allows, for example, a member
function to throw an instance of its own class. Fixes PR12564 and a
fairly embarassing oversight in our C++98/03 support.
llvm-svn: 154844
2012-04-16 18:27:27 +00:00
Richard Smith
9ca5c42582
Update all tests other than Driver/std.cpp to use -std=c++11 rather than
...
-std=c++0x. Patch by Ahmed Charles!
llvm-svn: 141900
2011-10-13 22:29:44 +00:00
Alexis Hunt
414e3e3c2d
Ensure we enter an unevaluated context when instantiating a noexcept
...
expression. Fixes bug raised by hhinnant to cfe-dev
llvm-svn: 132350
2011-05-31 19:54:49 +00:00