llvm-project/clang/lib/Parse
Argyrios Kyrtzidis 5929ef2ee7 Revert r151638 because it causes assertion hit on PCH creation for Cocoa.h
Original log:
---------------------
Correctly track tags and enum members defined in the prototype of a function, and ensure they are properly scoped.

This fixes code such as:

enum e {x, y};
int f(enum {y, x} n) {
 return 0;
}

This finally fixes PR5464 and PR5477.
---------------------

I also reverted r151641 which was enhancement on top of r151638.

llvm-svn: 151667
2012-02-28 23:39:14 +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 Make parsing of objc @implementations more robust. 2012-02-07 16:50:53 +00:00
ParseCXXInlineMethods.cpp Improve diagnostics a bit for bad member initializers, and fix an obscure bug involving packs. Fixes PR12049. 2012-02-22 04:49:04 +00:00
ParseDecl.cpp Revert r151638 because it causes assertion hit on PCH creation for Cocoa.h 2012-02-28 23:39:14 +00:00
ParseDeclCXX.cpp Fix decltype crash-on-invalid, if we don't find a matching ')' for an ill-formed 2012-02-27 05:24:00 +00:00
ParseExpr.cpp Half of PR12088: parse braced-init-lists on the RHS of assignment operators. 2012-02-26 23:40:27 +00:00
ParseExprCXX.cpp Implement a new type trait __is_trivially_constructible(T, Args...) 2012-02-24 07:38:34 +00:00
ParseInit.cpp De-nest tentative parsing to disambiguate lambdas from designators; no 2012-02-17 16:41:16 +00:00
ParseObjc.cpp [libclang] Make sure that all top-level decls in a @implementation are 2012-02-23 21:11:20 +00:00
ParsePragma.cpp Handle "#pragma GCC visibility" in a few more places. Switch over "#pragma pack" to use the same handling that gcc does. Fixes <rdar://problem/10871094> and <rdar://problem/10893316>. 2012-02-23 23:47:16 +00:00
ParsePragma.h Implement #pragma redefine_extname. 2012-02-18 16:12:34 +00:00
ParseStmt.cpp Handle "#pragma GCC visibility" in a few more places. Switch over "#pragma pack" to use the same handling that gcc does. Fixes <rdar://problem/10871094> and <rdar://problem/10893316>. 2012-02-23 23:47:16 +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 Handle "#pragma GCC visibility" in a few more places. Switch over "#pragma pack" to use the same handling that gcc does. Fixes <rdar://problem/10871094> and <rdar://problem/10893316>. 2012-02-23 23:47:16 +00:00
RAIIObjectsForParser.h Rename Diagnostic to DiagnosticsEngine as per issue 5397 2011-09-25 23:23:43 +00:00