hanchenye-llvm-project/clang/lib/Parse
Malcolm Parsons a3220ce6a3 Tracking exception specification source locations
Summary:
We do not currently track the source locations for exception specifications such
that their source range can be queried through the AST. This leads to trying to
write more complex code to determine the source range for uses like FixItHints
(see D18575 for an example). In addition to use within tools like clang-tidy, I
think this information may become more important to track as exception
specifications become more integrated into the type system.

Patch by Don Hinton.

Reviewers: rsmith

Subscribers: malcolm.parsons, sbarzowski, alexfh, hintonda, cfe-commits

Differential Revision: https://reviews.llvm.org/D20428

llvm-svn: 291771
2017-01-12 16:11:28 +00:00
..
CMakeLists.txt
ParseAST.cpp C++ Modules TS: add frontend support for building pcm files from module 2016-08-26 00:14:38 +00:00
ParseCXXInlineMethods.cpp Use unique_ptr for cached tokens for default arguments in C++. 2016-11-17 17:52:58 +00:00
ParseDecl.cpp Remove redundant passing around of a "ContainsAutoType" flag. 2017-01-12 02:27:38 +00:00
ParseDeclCXX.cpp Tracking exception specification source locations 2017-01-12 16:11:28 +00:00
ParseExpr.cpp [NFC] Rename RAII ExpressionEvaluationContext variable from Unevaluated to ConstantEvaluated when parsing a constant expression. 2017-01-10 01:29:41 +00:00
ParseExprCXX.cpp Remove redundant passing around of a "ContainsAutoType" flag. 2017-01-12 02:27:38 +00:00
ParseInit.cpp PR23135: Don't instantiate constexpr functions referenced in unevaluated operands where possible. 2017-01-07 00:48:55 +00:00
ParseObjc.cpp [ObjC] Avoid a @try/@finally/@autoreleasepool fixit when parsing an expression 2016-12-01 12:14:38 +00:00
ParseOpenMP.cpp [OpenMP] Sema and parsing for 'target teams distribute simd’ pragma 2017-01-10 18:08:18 +00:00
ParsePragma.cpp [OpenCL] Re-enable supported core extensions based on opencl version when disabling all extensions using pragma 2017-01-06 16:14:41 +00:00
ParseStmt.cpp [CodeCompletion] Add a block property setter completion result 2016-10-18 10:55:01 +00:00
ParseStmtAsm.cpp More diagnostic name fixups: w_ -> warn_, warning_ -> warn_, not_ -> note_. 2016-12-02 23:00:28 +00:00
ParseTemplate.cpp [c++1z] P0195R2: Allow multiple using-declarators in a single using-declaration. 2016-12-16 00:58:48 +00:00
ParseTentative.cpp regcall: Implement regcall Calling Conv in clang 2016-11-02 18:29:35 +00:00
Parser.cpp Remove redundant passing around of a "ContainsAutoType" flag. 2017-01-12 02:27:38 +00:00
RAIIObjectsForParser.h