diff options
author | Justin Lebar <jlebar@google.com> | 2016-10-21 22:10:23 +0000 |
---|---|---|
committer | Justin Lebar <jlebar@google.com> | 2016-10-21 22:10:23 +0000 |
commit | 7b15e2946fabc5b873ed4b610b21e235f573eba8 (patch) | |
tree | 38c96f8dcff0bf47d823faa462f23995ac6ca626 /lldb/packages/Python/lldbsuite/test/dotest_args.py | |
parent | fda33eaf0cc63f6b25fd0e236bceeb1ae31ebfae (diff) | |
download | bcm5719-llvm-7b15e2946fabc5b873ed4b610b21e235f573eba8.tar.gz bcm5719-llvm-7b15e2946fabc5b873ed4b610b21e235f573eba8.zip |
[ADT] Don't rely on string literals not being convertible to non-const char* in CachedHashString.
The build was breaking on some platforms because we assumed that
CachedHashString("foo") would match the CachedHashString(StringRef)
constructor rather than the CachedHashString(char*) constructor.
To fix this, provide a CachedHashString(const char*) constructor, and
add a dummy argument to the old CachedHashString(char*) constructor.
llvm-svn: 284892
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/dotest_args.py')
0 files changed, 0 insertions, 0 deletions