llvm-project/clang/lib/Parse
David Blaikie 2eabcc988f Simplify EnterTokenStream API to make it more robust for memory management
While this won't help fix things like the bug that r260219 addressed, it
seems like good tidy up to have anyway.

(it might be nice if "makeArrayRef" always produced a MutableArrayRef &
let it decay to an ArrayRef when needed - then I'd use that for the
MutableArrayRefs in this patch)

If we had std::dynarray I'd use that instead of unique_ptr+size_t,
ideally (but then it'd have to be threaded down through the Preprocessor
all the way - no idea how painful that would be)

llvm-svn: 260246
2016-02-09 18:52:09 +00:00
..
CMakeLists.txt [CMake] Reorder libdeps by alphabetical order. 2014-07-14 04:59:27 +00:00
ParseAST.cpp Restore PrettyStackTrace state on crash. 2015-08-07 17:48:57 +00:00
ParseCXXInlineMethods.cpp Simplify EnterTokenStream API to make it more robust for memory management 2016-02-09 18:52:09 +00:00
ParseDecl.cpp Simplify EnterTokenStream API to make it more robust for memory management 2016-02-09 18:52:09 +00:00
ParseDeclCXX.cpp Include RecordDecls from anonymous unions in the AST. 2016-01-28 19:25:00 +00:00
ParseExpr.cpp Fix regression from r259622: the operand of an increment that is the operand of 2016-02-03 18:48:43 +00:00
ParseExprCXX.cpp Simplify EnterTokenStream API to make it more robust for memory management 2016-02-09 18:52:09 +00:00
ParseInit.cpp OpaquePtr: Use nullptr construction for ParsedType OpaquePtr typedef 2016-01-15 23:43:34 +00:00
ParseObjc.cpp Simplify EnterTokenStream API to make it more robust for memory management 2016-02-09 18:52:09 +00:00
ParseOpenMP.cpp [OpenMP] Parsing + sema for target parallel for directive. 2016-02-03 15:46:42 +00:00
ParsePragma.cpp Simplify EnterTokenStream API to make it more robust for memory management 2016-02-09 18:52:09 +00:00
ParseStmt.cpp PR23057: Fix assertion `Val && "isa<> used on a null pointer"' on invalid for-range expression. 2016-02-02 17:33:09 +00:00
ParseStmtAsm.cpp Simplify EnterTokenStream API to make it more robust for memory management 2016-02-09 18:52:09 +00:00
ParseTemplate.cpp Simplify EnterTokenStream API to make it more robust for memory management 2016-02-09 18:52:09 +00:00
ParseTentative.cpp Add support for GCC's '__auto_type' extension, per the GCC manual: 2015-11-11 02:02:15 +00:00
Parser.cpp Include RecordDecls from anonymous unions in the AST. 2016-01-28 19:25:00 +00:00
RAIIObjectsForParser.h Add a new error for unexpected semi-colon before closing delimiter. 2015-05-12 21:36:35 +00:00