llvm-project/clang/lib/Parse
Richard Smith 7d182a7909 Fix a couple of issues with literal-operator-id parsing, and provide recovery
for a few kinds of error. Specifically:

Since we're after translation phase 6, the "" token might be formed by multiple
source-level string literals. Checking the token width is not a correct way of
detecting empty string literals, due to escaped newlines. Diagnose and recover
from a missing space between "" and suffix, and from string literals other than
"", which are followed by a suffix.

llvm-svn: 152348
2012-03-08 23:06:02 +00:00
..
CMakeLists.txt Thread Safety: Patch to implement delayed parsing of attributes within a 2011-09-08 17:42:22 +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 AST/stats: Don't effectively use an out-of-line function to return a static 2012-03-05 21:42:49 +00:00
ParseCXXInlineMethods.cpp Streamline BalancedDelimiterTracker, by eliminating the duplicate 2012-03-08 01:00:17 +00:00
ParseDecl.cpp Streamline BalancedDelimiterTracker, by eliminating the duplicate 2012-03-08 01:00:17 +00:00
ParseDeclCXX.cpp User-defined literals: reject string and character UDLs in all places where the 2012-03-06 03:21:47 +00:00
ParseExpr.cpp Streamline BalancedDelimiterTracker, by eliminating the duplicate 2012-03-08 01:00:17 +00:00
ParseExprCXX.cpp Fix a couple of issues with literal-operator-id parsing, and provide recovery 2012-03-08 23:06:02 +00:00
ParseInit.cpp De-nest tentative parsing to disambiguate lambdas from designators; no 2012-02-17 16:41:16 +00:00
ParseObjc.cpp Streamline BalancedDelimiterTracker, by eliminating the duplicate 2012-03-08 01:00:17 +00:00
ParsePragma.cpp Parse: Change PragmaPackHandler to use the preprocessor allocator. 2012-02-29 01:38:22 +00:00
ParsePragma.h Implement #pragma redefine_extname. 2012-02-18 16:12:34 +00:00
ParseStmt.cpp User-defined literals: reject string and character UDLs in all places where the 2012-03-06 03:21:47 +00:00
ParseTemplate.cpp In -fdelayed-template-parsing mode, reenter every scope when late parsing a templated function; (Not just the template parameter scope as previously). Also enter the scope stack in the correct order. 2012-02-22 08:25:53 +00:00
ParseTentative.cpp Implement a new type trait __is_trivially_constructible(T, Args...) 2012-02-24 07:38:34 +00:00
Parser.cpp Streamline BalancedDelimiterTracker, by eliminating the duplicate 2012-03-08 01:00:17 +00:00
RAIIObjectsForParser.h Rename Diagnostic to DiagnosticsEngine as per issue 5397 2011-09-25 23:23:43 +00:00