llvm-project/clang/lib/Parse
Alexis Hunt 5a7fa250ab Properly parse the 'default' and 'delete' keywords.
They are actually grammatically considered definitions and parsed
accordingly.

This fixes the outstanding bugs regarding defaulting functions after
their declarations.

We now really nicely diagnose the following construct (try it!)

int foo() = delete, bar;

Still todo: Defaulted functions other than default constructors
            Test cases (including for the above construct)

llvm-svn: 131228
2011-05-12 06:15:49 +00:00
..
CMakeLists.txt CMake: LLVM_NO_RTTI must be obsolete now! 2011-02-10 09:15:32 +00:00
Makefile BUILD_ARCHIVE is the default for libraries, no need to set it. 2010-07-18 00:14:47 +00:00
ParseAST.cpp Migrate 'PrettySTackTraceParserEntry' object out of Parser, and have it constructed within ParseAST. This avoids double crashes 2011-03-22 01:15:17 +00:00
ParseCXXInlineMethods.cpp Properly parse the 'default' and 'delete' keywords. 2011-05-12 06:15:49 +00:00
ParseDecl.cpp Properly parse the 'default' and 'delete' keywords. 2011-05-12 06:15:49 +00:00
ParseDeclCXX.cpp Properly parse the 'default' and 'delete' keywords. 2011-05-12 06:15:49 +00:00
ParseExpr.cpp Upgrade Microsoft's __int8, __int16, __int32 and __int64 types from builtin defines to real types. 2011-04-28 01:59:37 +00:00
ParseExprCXX.cpp Rename "hasTrivialConstructor" to "hasTrivialDefaultConstructor" and 2011-05-09 18:22:59 +00:00
ParseInit.cpp fix a bunch of comment typos found by codespell. Patch by 2011-04-15 05:22:18 +00:00
ParseObjc.cpp Fixes an instance method meta-data generation bug in 2011-04-22 22:02:28 +00:00
ParsePragma.cpp Remove unused but set variable. 2011-05-03 18:46:17 +00:00
ParsePragma.h Recognize gcc's ms_struct pragma (and ignore for now). 2011-04-25 18:49:15 +00:00
ParseStmt.cpp Add support for _if_exists and __if_not_exists at namespace/global scope. 2011-05-07 17:30:27 +00:00
ParseTemplate.cpp Implement support for C++0x alias templates. 2011-05-05 21:57:07 +00:00
ParseTentative.cpp Upgrade Microsoft's __int8, __int16, __int32 and __int64 types from builtin defines to real types. 2011-04-28 01:59:37 +00:00
Parser.cpp Properly parse the 'default' and 'delete' keywords. 2011-05-12 06:15:49 +00:00
RAIIObjectsForParser.h Parsing/AST support for Structured Exception Handling 2011-04-28 01:08:34 +00:00