llvm-project/clang/lib/Parse
Saleem Abdulrasool f7ffec3b5f parser: diagnose empty attribute blocks
MS attributes do not permit empty attribute blocks.  Correctly diagnose those.
We continue to parse to ensure that we recover correctly.  Because the block is
empty, we do not need to skip any tokens.

Bonus: tweak the comment that I updated but forgot to remove the function name
in a previous commit.

llvm-svn: 239846
2015-06-16 20:03:47 +00:00
..
CMakeLists.txt [CMake] Reorder libdeps by alphabetical order. 2014-07-14 04:59:27 +00:00
Makefile
ParseAST.cpp Remove unneeded include of DeclCXX.h from libParse. 2014-12-28 01:52:28 +00:00
ParseCXXInlineMethods.cpp Cleanup: no need to pass DefinitionKind into ParseCXXInlineMethodDef 2015-03-23 23:49:41 +00:00
ParseDecl.cpp __declspec is not a core Clang language extension. Instead, require -fms-extensions or -fborland to enable the language extension. 2015-05-26 19:44:52 +00:00
ParseDeclCXX.cpp parser: diagnose empty attribute blocks 2015-06-16 20:03:47 +00:00
ParseExpr.cpp Allow TransformTypos to ignore corrections to a specified VarDecl. 2015-05-05 19:17:03 +00:00
ParseExprCXX.cpp Refactored some common functionality into MaybeParseMicrosoftDeclSpecs; NFC. 2015-05-20 20:58:33 +00:00
ParseInit.cpp Remove many superfluous SmallString::str() calls. 2015-03-18 10:17:07 +00:00
ParseObjc.cpp [Sema] Check availability of ObjC super class and protocols of a container 2015-04-19 20:15:55 +00:00
ParseOpenMP.cpp [OPENMP] Code cleanup for capturing of variables in OpenMP regions. 2015-05-08 10:41:21 +00:00
ParsePragma.cpp Add assume_safety option for pragma loop vectorize and interleave. 2015-06-11 23:23:17 +00:00
ParseStmt.cpp [OPENMP] Allow to use global variables as lcv in loop-based directives. 2015-04-30 04:23:23 +00:00
ParseStmtAsm.cpp Recommit r239721: Replace string GNU Triples with llvm::Triple in InitMCObjectFileInfo. NFC. 2015-06-16 12:18:07 +00:00
ParseTemplate.cpp PR20625: Instantiate static constexpr member function of a local struct in a function template earlier. 2015-05-11 23:09:06 +00:00
ParseTentative.cpp Revert "Improve declaration / expression disambiguation around ptr-operators, and use" 2015-02-23 22:36:28 +00:00
Parser.cpp Don't leak TemplateIds when a plugin parses late-parsed templates at TU end. 2015-05-17 01:07:16 +00:00
RAIIObjectsForParser.h Add a new error for unexpected semi-colon before closing delimiter. 2015-05-12 21:36:35 +00:00