llvm-project/clang
Jordan Rose 8a5a094ec5 [analyzer] Look through temporary destructors when finding a region to construct.
Fixes a false positive when temporary destructors are enabled where a temporary
is destroyed after a variable is constructed but before the VarDecl itself is
processed, which occurs when the variable is in the condition of an if or while.

Patch by Alex McCarthy, with an extra test from me.

llvm-svn: 205661
2014-04-05 02:01:41 +00:00
..
INPUTS
bindings Use the correct symbol for a left bracket. 2014-03-14 08:39:06 +00:00
docs clang-format: Support configurable list of foreach-macros. 2014-04-01 12:55:11 +00:00
examples Fix build break, replace take() with release(). 2014-03-09 11:46:32 +00:00
include Try harder about not suggesting methods as corrections when they 2014-04-04 22:16:30 +00:00
lib [analyzer] Look through temporary destructors when finding a region to construct. 2014-04-05 02:01:41 +00:00
runtime [CMake] Propagate top-level targets for compiler-rt runtimes and test-suites 2014-03-21 13:09:25 +00:00
test [analyzer] Look through temporary destructors when finding a region to construct. 2014-04-05 02:01:41 +00:00
tools Comment necessity of early initialization 2014-03-31 23:47:13 +00:00
unittests clang-format: Don't merge simple blocks in case statements. 2014-04-04 06:46:23 +00:00
utils Reapplying r204952 a second time. 2014-03-31 13:14:44 +00:00
www Add failing testcase for DR305. Looks like we didn't implement the resolution 2014-04-01 01:58:11 +00:00
.arcconfig
.clang-format
.gitignore
CMakeLists.txt We now require Visual C++ 2012 (MSVC_VERSION = 1700) or later to build LLVM. 2014-03-04 09:12:17 +00:00
CODE_OWNERS.TXT Adding myself as the code owner for the attribute subsystem. 2014-01-13 22:23:27 +00:00
INSTALL.txt
LICENSE.TXT Update the copyright credits -- Happy new year 2014! 2014-01-01 08:27:31 +00:00
Makefile Define ENABLE_CLANG_EXAMPLES instead of relying on BUILD_EXAMPLES 2014-01-08 13:00:32 +00:00
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.cs.uiuc.edu/mailman/listinfo/cfe-dev

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