llvm-project/clang/lib/Parse
Reid Kleckner b9ece24dfc Put statement expression decls in the enclosing code DeclContext
We already check that statement expressions are in a function or block,
but we didn't do anything with that information. Now we use that
DeclContext for the duration of the statement expression. Otherwise,
we'd treat statement expression locals as static data members and go
into the weeds.

llvm-svn: 235335
2015-04-20 20:00:49 +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 [MS ABI] Correctly associate align attrs before the class-key 2015-04-19 07:53:29 +00:00
ParseDeclCXX.cpp [MS ABI] Correctly associate align attrs before the class-key 2015-04-19 07:53:29 +00:00
ParseExpr.cpp Put statement expression decls in the enclosing code DeclContext 2015-04-20 20:00:49 +00:00
ParseExprCXX.cpp [Parse] Don't crash on ~A::{ 2015-03-29 14:35:39 +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] Fix crash on private variables not used in OpenMP region. 2015-04-02 07:48:16 +00:00
ParsePragma.cpp Adds a warning for unrecognized argument to #pragma comment() on PS4. 2015-03-23 20:41:42 +00:00
ParseStmt.cpp Correct typos in SEH filter expressions 2015-04-02 22:09:32 +00:00
ParseStmtAsm.cpp Update for llvm commit r233648. 2015-03-31 00:10:23 +00:00
ParseTemplate.cpp Diagnose function template definitions inside functions 2014-12-15 23:16:32 +00:00
ParseTentative.cpp Revert "Improve declaration / expression disambiguation around ptr-operators, and use" 2015-02-23 22:36:28 +00:00
Parser.cpp Sema: Don't emit a missing prototype warning for deleted functions. 2015-03-12 14:28:47 +00:00
RAIIObjectsForParser.h Removing LLVM_DELETED_FUNCTION, as MSVC 2012 was the last reason for requiring the macro. NFC; Clang edition. 2015-02-15 22:54:08 +00:00