llvm-project/clang/tools
Justin Bogner d512c1edf0 Frontend: Don't accept null DiagnosticsEngines when building ASTUnits
The various ways to create an ASTUnit all take a refcounted pointer to
a diagnostics engine as an argument, and if it isn't pointing at
anything they initialize it. This is a pretty confusing API, and it
really makes more sense for the caller to initialize the thing since
they control the lifetime anyway.

This fixes the one caller that didn't bother initializing the pointer
and asserts that the argument is initialized.

llvm-svn: 219752
2014-10-15 00:33:06 +00:00
..
arcmt-test Use the simpler version of llvm::sys::fs::exists. 2014-09-11 18:10:13 +00:00
c-arcmt-test Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00
c-index-test Add libclang capabilities to retriete template arguments from specializations. 2014-10-10 20:01:05 +00:00
clang-check Modify behavior of -ast-dump-lookups: if -ast-dump is not also provided, dump 2014-08-11 22:11:07 +00:00
clang-format clang-format: [JS] Support regex literals with trailing escaped slash. 2014-09-09 14:37:39 +00:00
clang-format-vs Update build instructions for the clang-format VS plugin 2014-08-01 17:38:53 +00:00
diag-build Briefly document diag-build.sh 2013-12-28 21:59:11 +00:00
diagtool Use llvm::makeArrayRef instead of explicitly calling ArrayRef constructor and mentioning the type. This works now that we have a conversion from ArrayRef<T*> to ArrayRef<const T*>. 2014-08-30 16:55:39 +00:00
driver driver: Map closed standard file descriptors to /dev/null 2014-10-06 23:52:23 +00:00
libclang Frontend: Don't accept null DiagnosticsEngines when building ASTUnits 2014-10-15 00:33:06 +00:00
scan-build Fix a bug when scan-build is used in a cross-compilation environment with 2014-08-08 17:15:13 +00:00
scan-view [analyzer] scan-view: don't ever serve absolute paths. 2013-04-29 17:23:06 +00:00
CMakeLists.txt Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00
Makefile Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00