llvm-project/clang/lib/Parse
Chris Lattner 8e3eed0890 change ParseStatementOrDeclaration to emit the 'missing ;' with
ExpectAndConsume instead of custom diag logic.  This gets us an
insertion hint and positions the ; at the end of the line 
instead of on the next token.  Before:

t.c:5:1: error: expected ';' after return statement
}
^

after:

t.c:4:11: error: expected ';' after return statement
  return 4
          ^
          ;

llvm-svn: 73315
2009-06-14 00:23:56 +00:00
..
AttributeList.cpp Add real parsing for __declspec. It doesn't make much of a difference 2009-06-08 07:21:15 +00:00
CMakeLists.txt Build system changes to use TableGen to generate the various 2009-03-16 23:06:59 +00:00
DeclSpec.cpp Disallow exception specs on typedefs. 2009-05-31 11:47:27 +00:00
ExtensionRAIIObject.h Rejigger how -pedantic and -pedantic-errors work and their interaction 2009-04-15 07:01:18 +00:00
Makefile Build system changes to use TableGen to generate the various 2009-03-16 23:06:59 +00:00
MinimalAction.cpp teach -parse-noop about int128_t and friends. 2009-05-01 16:33:20 +00:00
ParseCXXInlineMethods.cpp Reimplement much of the way that we track nested classes in the 2009-05-27 23:11:45 +00:00
ParseDecl.cpp It's an error to use a function declared in a class definition as a default argument before the function has been declared. 2009-06-12 16:51:40 +00:00
ParseDeclCXX.cpp improve localizability by not passing english phrases into 2009-06-14 00:07:48 +00:00
ParseExpr.cpp PR4364: fix parsing 'typename' in an expression. 2009-06-11 00:33:41 +00:00
ParseExprCXX.cpp PR4122: Tweak the ambiguity handling to handle (S())() correctly. I've 2009-05-25 19:41:42 +00:00
ParseInit.cpp Merge the ASTVector and ASTOwningVector templates, since they offered 2009-05-21 16:25:11 +00:00
ParseObjc.cpp Use of DeclContext for objc's ivars. No functionality 2009-06-05 18:16:35 +00:00
ParsePragma.cpp Add parser support for #pragma weak. 2009-06-05 00:49:58 +00:00
ParsePragma.h Add parser support for #pragma weak. 2009-06-05 00:49:58 +00:00
ParseStmt.cpp change ParseStatementOrDeclaration to emit the 'missing ;' with 2009-06-14 00:23:56 +00:00
ParseTemplate.cpp Address more comments from Doug. 2009-06-12 23:09:56 +00:00
ParseTentative.cpp Add more parser support for Microsoft extensions. 2009-06-08 23:27:34 +00:00
Parser.cpp Add parser support for #pragma weak. 2009-06-05 00:49:58 +00:00