llvm-project/clang/lib
Yitzhak Mandelbaum 9c54f6154f [libTooling] Add function to determine associated text of a declaration.
Summary:
This patch adds `getAssociatedRange` which, for a given decl, computes preceding
and trailing text that would conceptually be associated with the decl by the
reader. This includes comments, whitespace, and separators like ';'.

Reviewers: gribozavr

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D72153
2020-02-25 16:37:20 -05:00
..
ARCMigrate [ARCMT][NFC] Reduce #include dependencies 2020-02-12 19:10:46 +01:00
AST [ASTImporter] Improved variable template redecl chain handling. 2020-02-25 14:48:37 +01:00
ASTMatchers [ASTMatchers] Adds a matcher called `hasAnyOperatorName` 2020-02-25 07:51:20 +00:00
Analysis [analyzer] Add support for CXXInheritedCtorInitExpr. 2020-02-25 18:37:23 +03:00
Basic [AIX][Frontend] C++ ABI customizations for AIX boilerplate 2020-02-24 10:26:51 -05:00
CodeGen Make __builtin_amdgcn_dispatch_ptr dereferenceable and align at 4 2020-02-25 13:58:20 -05:00
CrossTU [clang] Replace SmallStr.str().str() with std::string conversion operator. 2020-01-29 21:27:46 -08:00
DirectoryWatcher Add missing newlines at EOF; NFC 2020-02-12 15:57:25 +00:00
Driver [remark][diagnostics] [codegen] Fix PR44896 2020-02-25 08:15:17 -08:00
Edit [C++2a] Add __builtin_bit_cast, used to implement std::bit_cast 2019-07-02 18:28:13 +00:00
Format [clang-format] Wrap lines for C# property accessors 2020-02-25 14:23:47 +00:00
Frontend clang-cl: Add a `/showIncludes:user` flag. 2020-02-25 09:43:52 -05:00
FrontendTool Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
Headers [Mips] Add intrinsics for 4-byte and 8-byte MSA loads/stores. 2020-02-11 11:47:30 +01:00
Index [clang][Index] Fix the incomplete instantiations in libindex. 2020-02-20 14:42:30 +01:00
Lex Prefer __vector over vector keyword for altivec 2020-02-10 20:23:26 +01:00
Parse Support output constraints on "asm goto" 2020-02-24 18:51:29 -08:00
Rewrite [Rewrite][NFC] Add FIXMEs and tests for RemoveLineIfEmpty bug 2019-08-15 21:17:48 +00:00
Sema Check args passed to __builtin_frame_address and __builtin_return_address. 2020-02-25 12:47:14 -08:00
Serialization [NFC] Remove trailing space 2020-02-18 10:49:13 +08:00
StaticAnalyzer [analyzer] Add support for CXXInheritedCtorInitExpr. 2020-02-25 18:37:23 +03:00
Tooling [libTooling] Add function to determine associated text of a declaration. 2020-02-25 16:37:20 -05:00
CMakeLists.txt Reland [clang] DirectoryWatcher 2019-07-12 20:34:10 +00:00