llvm-project/clang/lib/Parse
Richard Smith 301bc21fd0 Make Sema::getPrintingPolicy less ridiculously expensive. This used to perform
an identifier table lookup, *and* copy the LangOptions (including various
std::vector<std::string>s). Twice. We call this function once each time we start
parsing a declaration specifier sequence, and once for each call to Sema::Diag.

This reduces the compile time for a sample .c file from the linux kernel by 20%.

llvm-svn: 270009
2016-05-19 01:39:10 +00:00
..
CMakeLists.txt [CMake] Reorder libdeps by alphabetical order. 2014-07-14 04:59:27 +00:00
ParseAST.cpp Prune four superfluous ExternalSemaSource.h includes and one forward declaration in Sema.h 2016-05-13 14:53:19 +00:00
ParseCXXInlineMethods.cpp For MS ABI, emit dllexport friend functions defined inline in class 2016-03-30 06:27:31 +00:00
ParseDecl.cpp Make Sema::getPrintingPolicy less ridiculously expensive. This used to perform 2016-05-19 01:39:10 +00:00
ParseDeclCXX.cpp [Concepts] Pass requires-clause to ActOnTemplateParameterList; NFC 2016-04-29 18:05:37 +00:00
ParseExpr.cpp Enable support for __float128 in Clang and enable it on pertinent platforms 2016-05-09 08:52:33 +00:00
ParseExprCXX.cpp Enable support for __float128 in Clang and enable it on pertinent platforms 2016-05-09 08:52:33 +00:00
ParseInit.cpp OpaquePtr: Use nullptr construction for ParsedType OpaquePtr typedef 2016-01-15 23:43:34 +00:00
ParseObjc.cpp [Parser][ObjC] Make sure c++11 in-class initialization is done when the 2016-04-18 18:19:45 +00:00
ParseOpenMP.cpp [OpenMP] Parse+Sema for '#pragma omp declare target' syntax version 4.5 2016-05-09 14:59:13 +00:00
ParsePragma.cpp [OpenCL] Add supported OpenCL extensions to target info. 2016-05-16 17:06:34 +00:00
ParseStmt.cpp Recommit "[MS] Improved implementation of stack pragmas (vtordisp, *_seg)" 2016-04-29 11:27:00 +00:00
ParseStmtAsm.cpp Fix a funny Dvorak typo. 2016-05-19 00:16:09 +00:00
ParseTemplate.cpp [Concepts] Pass requires-clause to ActOnTemplateParameterList; NFC 2016-04-29 18:05:37 +00:00
ParseTentative.cpp [MSVC] Implementation of __unaligned as a proper type qualifier 2016-05-11 18:38:21 +00:00
Parser.cpp [OPENMP 4.0] Initial support for '#pragma omp declare simd' directive. 2016-03-30 10:43:55 +00:00
RAIIObjectsForParser.h Add a new error for unexpected semi-colon before closing delimiter. 2015-05-12 21:36:35 +00:00