llvm-project/clang
Alexander Shaposhnikov e2f073463e [analyzer] Allow padding checker to traverse simple class hierarchies
The existing padding checker skips classes that have any base classes. 
This patch allows the checker to traverse very simple cases: 
classes that have no fields and have exactly one base class. 
This is important mostly in the case of array declarations.

Patch by Max Bernstein!

Test plan: make check-all

Differential revision: https://reviews.llvm.org/D53206

llvm-svn: 345558
2018-10-30 01:20:37 +00:00
..
INPUTS
bindings Add check-clang-python to the Clang tests directory in IDEs; NFC. 2018-10-18 17:47:18 +00:00
cmake [CMake][Fuchsia] Drop the LIBCXX_HIDE_FROM_ABI_PER_TU_BY_DEFAULT 2018-10-29 23:10:49 +00:00
docs Revert "Revert "Support for groups of attributes in #pragma clang attribute"" 2018-10-29 17:38:42 +00:00
examples Fix buildbots - update clang-interpreter to use Legacy ORC classes introduced in rL344572. 2018-10-16 09:21:58 +00:00
include In swiftcall, don't merge FP/vector types within a chunk. 2018-10-29 20:32:36 +00:00
lib [analyzer] Allow padding checker to traverse simple class hierarchies 2018-10-30 01:20:37 +00:00
runtime [CMake] Make bootstrap and compiler-rt depend on cxx-headers. 2018-06-28 18:35:25 +00:00
test [analyzer] Allow padding checker to traverse simple class hierarchies 2018-10-30 01:20:37 +00:00
tools [clang] Introduce new completion context types 2018-10-24 15:23:49 +00:00
unittests [ASTImporter] Reorder fields after structure import is finished 2018-10-29 21:46:18 +00:00
utils [AArch64] Implement FP16FML intrinsics 2018-10-25 23:47:00 +00:00
www [C++17] Reject shadowing of capture by parameter in lambda 2018-10-25 20:15:03 +00:00
.arcconfig
.clang-format
.clang-tidy
.gitignore [NFC] Add tags file to .gitignore 2018-08-22 23:23:17 +00:00
CMakeLists.txt [analyzer] Improved cmake configuration for Z3 2018-10-13 19:45:48 +00:00
CODE_OWNERS.TXT
INSTALL.txt
LICENSE.TXT Update copyright year to 2018. 2018-06-18 12:22:17 +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.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/