llvm-project/clang/lib/Parse
John McCall 64fe233704 When parsing an identifier as an expression in C++, only try to annotate it
as a type or scope token if the next token requires it.

This eliminates a lot of redundant lookups in C++, but there's room for
improvement;  a better solution would do a single lookup whose kind and
results would be passed through the parser.

llvm-svn: 92930
2010-01-07 19:29:58 +00:00
..
AttributeList.cpp Parse C++ member check attributes - base_check, hiding, and override. 2009-11-25 04:20:27 +00:00
CMakeLists.txt Reorder files. 2009-07-21 21:03:50 +00:00
DeclSpec.cpp Un-namespace-qualify llvm_unreachable. It's a macro, so the qualification gave 2009-12-12 05:05:38 +00:00
Makefile Installation of Clang libraries and headers, from Axel Naumann! 2009-10-08 22:15:31 +00:00
MinimalAction.cpp Implement access declarations. Most of the work here is parsing them, which 2009-12-11 02:10:03 +00:00
ParseCXXInlineMethods.cpp Refactor to remove more dependencies on PreDeclaratorDC. I seem to have made 2009-12-19 10:49:29 +00:00
ParseDecl.cpp Fix 80-col violation. 2009-12-28 06:49:22 +00:00
ParseDeclCXX.cpp Don't inject the class name until that magical lbrace. 2009-12-20 07:58:13 +00:00
ParseExpr.cpp When parsing an identifier as an expression in C++, only try to annotate it 2010-01-07 19:29:58 +00:00
ParseExprCXX.cpp refactor the 'ColonIsSacred' argument to ParseOptionalCXXScopeSpecifier 2009-12-10 00:32:41 +00:00
ParseInit.cpp PR5218: Replace IdentifierInfo::getName with StringRef version, now that clients 2009-10-18 21:17:35 +00:00
ParseObjc.cpp Change ObjCContainerDecl to contain the entire range for the '@end' 2010-01-07 01:20:12 +00:00
ParsePragma.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
ParsePragma.h Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
ParseStmt.cpp Remember if the AsmStmt came from Microsoft-style inline assembly code. 2010-01-04 22:37:17 +00:00
ParseTemplate.cpp Make sure to give an error for template argument lists followed by junk. 2009-12-27 22:31:18 +00:00
ParseTentative.cpp eliminate a call to NextToken() when parsing ::foo 2009-12-19 01:11:05 +00:00
Parser.cpp Teach TryAnnotateTypeOrScopeToken to deal with already-annotated 2009-12-19 00:35:18 +00:00
RAIIObjectsForParser.h Privatize class members. 2009-12-10 21:50:21 +00:00