llvm-project/clang
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
..
INPUTS
bindings Hopefully fixing a failing build bot. 2020-02-18 11:39:23 -05:00
cmake Revert "[CMake] Explicitly specify paths to libc++abi in CrossWinToARMLinux.cmake" 2020-02-17 16:06:30 +03:00
docs [ASTMatchers] Adds a matcher called `hasAnyOperatorName` 2020-02-25 07:51:20 +00:00
examples [examples] Fix the clang-interpreter example for changes in 85fb997659. 2020-02-19 19:01:32 -08:00
include [libTooling] Add function to determine associated text of a declaration. 2020-02-25 16:37:20 -05:00
lib [libTooling] Add function to determine associated text of a declaration. 2020-02-25 16:37:20 -05:00
runtime
test Check args passed to __builtin_frame_address and __builtin_return_address. 2020-02-25 12:47:14 -08:00
tools Revert "libclang: Add static build support for Windows" and 2020-02-20 15:17:51 -05:00
unittests [libTooling] Add function to determine associated text of a declaration. 2020-02-25 16:37:20 -05:00
utils [ARM,MVE] Add the vmovnbq,vmovntq intrinsic family. 2020-02-18 09:34:50 +00:00
www [cxx_status] Update -std= instructions for C++20. 2020-02-20 11:40:09 -08:00
.clang-format
.clang-tidy - Update .clang-tidy to ignore parameters of main like functions for naming violations in clang and llvm directory 2020-01-31 16:49:45 +00:00
.gitignore
CMakeLists.txt Fix compiler extension in standalone mode 2020-02-20 07:19:04 +01:00
CODE_OWNERS.TXT
INSTALL.txt
LICENSE.TXT
ModuleInfo.txt
NOTES.txt
README.txt [NFC] test commit reverted 2019-12-21 22:12:07 +04:00

README.txt

//===----------------------------------------------------------------------===//
// C Language Family Front-end
//===----------------------------------------------------------------------===//

Welcome to Clang.  This is a compiler front-end for the C family of languages
(C, C++, Objective-C, and Objective-C++) which is built as part of the LLVM
compiler infrastructure project.

Unlike many other compiler frontends, Clang is useful for a number of things
beyond just compiling code: we intend for Clang to be host to a number of
different source-level tools.  One example of this is the Clang Static Analyzer.

If you're interested in more (including how to build Clang) it is best to read
the relevant web sites.  Here are some pointers:

Information on Clang:             http://clang.llvm.org/
Building and using Clang:         http://clang.llvm.org/get_started.html
Clang Static Analyzer:            http://clang-analyzer.llvm.org/
Information on the LLVM project:  http://llvm.org/

If you have questions or comments about Clang, a great place to discuss them is
on the Clang development mailing list:
  http://lists.llvm.org/mailman/listinfo/cfe-dev

If you find a bug in Clang, please file it in the LLVM bug tracker:
  http://llvm.org/bugs/