llvm-project/clang
Akira Hatanaka 4c62c7c981 [Objective-c] Fix a crash in WeakObjectProfileTy::getBaseInfo.
The crash occurs in WeakObjectProfileTy::getBaseInfo when getBase() is
called on an ObjCPropertyRefExpr object whose receiver is an interface.
This commit fixes the crash by checking the type of the receiver and
setting IsExact to true if it is an interface.

rdar://problem/25208167

Differential Revision: http://reviews.llvm.org/D18268

llvm-svn: 263818
2016-03-18 19:03:50 +00:00
..
INPUTS
bindings libclang python bindings: Fix for bug 26394 2016-03-10 23:29:45 +00:00
cmake [CMake] Updating Apple build configurations 2016-03-15 18:27:28 +00:00
docs Make it possible for AST plugins to enable themselves by default 2016-03-15 12:51:40 +00:00
examples Make it possible for AST plugins to enable themselves by default 2016-03-15 12:51:40 +00:00
include [clang-cl] Allow use of -gline-tables-only 2016-03-18 18:42:56 +00:00
lib [Objective-c] Fix a crash in WeakObjectProfileTy::getBaseInfo. 2016-03-18 19:03:50 +00:00
runtime [cmake] Add a few more compiler-rt check-* targets for EXTERNAL_COMPILER_RT 2016-03-01 15:33:52 +00:00
test [Objective-c] Fix a crash in WeakObjectProfileTy::getBaseInfo. 2016-03-18 19:03:50 +00:00
tools Add attributes for preserve_mostcc/preserve_allcc calling conventions to the C/C++ front-end 2016-03-16 18:00:46 +00:00
unittests Revert "Reapply [VFS] Add 'overlay-relative' field to YAML files" 2016-03-17 21:30:55 +00:00
utils Show members of DeclContexts (i.e., class members) in Visual Studio native visualizers 2016-03-18 16:38:34 +00:00
www Implement support for [[maybe_unused]] in C++1z that is based off existing support for unused, and treat it as an extension pre-C++1z. This also means extending the existing unused attribute so that it can be placed on an enum and enumerator, in addition to the other subjects. 2016-03-09 16:48:08 +00:00
.arcconfig Revert r242365. 2015-07-16 00:32:26 +00:00
.clang-format
.clang-tidy
.gitignore Add the clang debug info test directory to .gitignore as it's managed separately. 2016-01-29 01:35:55 +00:00
CMakeLists.txt [CMake] Defaulting CLANG_VENDOR to PACKAGE_VENDOR 2016-03-15 18:25:36 +00:00
CODE_OWNERS.TXT Added Anastasia Stulova as a code owner for OpenCL 2016-02-03 18:51:19 +00:00
INSTALL.txt Honor system specific paths of MAN pages 2015-11-20 18:49:02 +00:00
LICENSE.TXT
ModuleInfo.txt
NOTES.txt
README.txt Update mailing list references to lists.llvm.org 2015-08-05 03:55:23 +00: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/