llvm-project/clang/tools
David Blaikie 6adc78e0df Replace TypeLoc llvm::cast support to be well-defined.
The TypeLoc hierarchy used the llvm::cast machinery to perform undefined
behavior by casting pointers/references to TypeLoc objects to derived types
and then using the derived copy constructors (or even returning pointers to
derived types that actually point to the original TypeLoc object).

Some context is in this thread:
http://lists.cs.uiuc.edu/pipermail/llvmdev/2012-December/056804.html
Though it's spread over a few months which can be hard to read in the mail
archive.

llvm-svn: 175462
2013-02-18 22:06:02 +00:00
..
arcmt-test these now depend on the bitcode reader too. 2013-01-19 18:28:24 +00:00
c-arcmt-test libclang: Update comment about USEDLIBS in c-*-test/Makefile. 2013-01-22 04:11:33 +00:00
c-index-test libclang: add clang_getTypeSpelling(CXType CT) 2013-02-15 21:15:49 +00:00
clang-check these now depend on the bitcode reader too. 2013-01-19 18:28:24 +00:00
diag-build Add new tool 'diag-build' for showing enabled warnings in a project. 2012-06-18 21:31:37 +00:00
diagtool Nuke SetUpBuildDumpLog. 2013-01-20 01:58:28 +00:00
driver Excise <cctype> from Clang (except clang-tblgen) in favor of CharInfo.h. 2013-02-08 22:30:41 +00:00
libclang Replace TypeLoc llvm::cast support to be well-defined. 2013-02-18 22:06:02 +00:00
scan-build Teach ccc-analyze to pass on -iquote with no spaces between it an the argument. 2013-02-14 00:32:25 +00:00
scan-view Further harden checking that scan-view isn't serving up pages outside 2012-10-12 22:56:38 +00:00
CMakeLists.txt [CMake] clang/tools/extra may be included by LLVM_EXTERNAL_CLANG_TOOLS_EXTRA_SOURCE_DIR. 2012-10-10 13:46:18 +00:00
Makefile [c-index-test] When building with BUILD_CLANG_ONLY=YES, include c-index-test. 2012-11-06 19:14:25 +00:00