summaryrefslogtreecommitdiffstats
path: root/lldb/source/Host/common/FileSpec.cpp
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2014-10-15 00:33:06 +0000
committerJustin Bogner <mail@justinbogner.com>2014-10-15 00:33:06 +0000
commitd512c1edf0f1425eae61c13812ea4000fcabc609 (patch)
tree56fb4d66076b59454cb6834818b8f11daefa53e3 /lldb/source/Host/common/FileSpec.cpp
parentcba08bd9b2f66868d27387c4f7ea06b8150d75f7 (diff)
downloadbcm5719-llvm-d512c1edf0f1425eae61c13812ea4000fcabc609.tar.gz
bcm5719-llvm-d512c1edf0f1425eae61c13812ea4000fcabc609.zip
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
Diffstat (limited to 'lldb/source/Host/common/FileSpec.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud