hanchenye-llvm-project/clang
Naomi Musgrave e50cb9b9c8 Fix previous commit: poison only class members, simpler tests
Summary: Poisoning applied to only class members, and before dtors for base class invoked

Implement poisoning of only class members in dtor, as opposed to also
poisoning fields inherited from base classes. Members are poisoned
only once, by the last dtor for a class. Skip poisoning if class has
no fields.
Verify emitted code for derived class with virtual destructor sanitizes
its members only once.
Removed patch file containing extraneous changes.

Reviewers: eugenis, kcc

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


Simplified test cases for use-after-dtor

Summary: Simplified test cases to focus on one feature at time.
Tests updated to align with new emission order for sanitizing
callback.

Reviewers: eugenis, kcc

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

llvm-svn: 244933
2015-08-13 18:35:11 +00:00
..
INPUTS
bindings
cmake/modules
docs Docs: keep copyright years up-to-date 2015-08-12 19:45:01 +00:00
examples Fixing a build bot break from r240400. 2015-06-23 13:29:33 +00:00
include [modules] Change the way we deal with .d output for explicitly-specified module 2015-08-13 17:57:10 +00:00
lib Fix previous commit: poison only class members, simpler tests 2015-08-13 18:35:11 +00:00
runtime
test Fix previous commit: poison only class members, simpler tests 2015-08-13 18:35:11 +00:00
tools Remove and forbid raw_svector_ostream::flush() calls. 2015-08-13 18:12:56 +00:00
unittests clang-format: Inside decltype(), there is an expression. 2015-08-13 13:43:51 +00:00
utils Fix memory ownership in the NeonEmitter by using values instead of pointers (smart or otherwise) 2015-08-06 18:29:32 +00:00
www Update mailing list references to lists.llvm.org 2015-08-05 03:55:23 +00:00
.arcconfig Revert r242365. 2015-07-16 00:32:26 +00:00
.clang-format
.clang-tidy
.gitignore Revert r242365. 2015-07-16 00:32:26 +00:00
CMakeLists.txt The version of libxml2 required by c-index-test must be at least 2.5.3. Considering that this version was released in 2003, you might think the check a bit ridiculous. Unfortunately, GnuWin32 ships with libxml2 2.4.12, which was released in 2001. 2015-08-12 15:01:15 +00:00
CODE_OWNERS.TXT Officially end my reign as owner of the driver. 2015-08-05 14:52:01 +00:00
INSTALL.txt
LICENSE.TXT
Makefile
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/