hanchenye-llvm-project/clang
Argyrios Kyrtzidis f95a000421 [index] Fix issue with protocol name locations in conformance list of an ObjC class when they come from a typedef.
The ObjC class protocol list assumes there is an associated location for each protocol but no location is provided
when the protocol list comes from a typedef, and we end up with a buffer overflow when trying to get locations for the protocol names.

Fixes crash of rdar://28980278.

llvm-svn: 286331
2016-11-09 02:47:07 +00:00
..
INPUTS
bindings [python bindings] Expose CXCursor_FriendDecl as CursorKind.FRIEND_DECL 2016-11-04 06:50:59 +00:00
cmake cmake: Don't try to install exports if there aren't any 2016-11-08 05:02:33 +00:00
docs [ASTMatcher] Add CXXNewExpr support to hasDeclaration 2016-10-31 22:04:07 +00:00
examples [Examples] Fix use of sema.LateParsedTemplateMap in clang/examples. 2016-10-10 16:41:00 +00:00
include [index] Fix issue with protocol name locations in conformance list of an ObjC class when they come from a typedef. 2016-11-09 02:47:07 +00:00
lib [index] Fix issue with protocol name locations in conformance list of an ObjC class when they come from a typedef. 2016-11-09 02:47:07 +00:00
runtime
test [index] Fix issue with protocol name locations in conformance list of an ObjC class when they come from a typedef. 2016-11-09 02:47:07 +00:00
tools clang-format: Use git-ls-tree to get file mode in diff mode 2016-11-08 05:50:14 +00:00
unittests Add a method to get the list of registered static analyzer checkers. 2016-11-08 07:23:32 +00:00
utils Use noexcept instead of LLVM_NOEXCEPT now that all compilers support it 2016-10-19 23:39:55 +00:00
www [www] Update the link to the 'include what you use' project 2016-11-07 16:56:19 +00:00
.arcconfig
.clang-format
.clang-tidy
.gitignore
CMakeLists.txt [CMake] Add clang-bootstrap-deps target 2016-10-19 21:18:48 +00:00
CODE_OWNERS.TXT
INSTALL.txt
LICENSE.TXT
ModuleInfo.txt
NOTES.txt
README.txt

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/