summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/dotest_args.py
diff options
context:
space:
mode:
authorJustin Lebar <jlebar@google.com>2016-10-21 22:10:23 +0000
committerJustin Lebar <jlebar@google.com>2016-10-21 22:10:23 +0000
commit7b15e2946fabc5b873ed4b610b21e235f573eba8 (patch)
tree38c96f8dcff0bf47d823faa462f23995ac6ca626 /lldb/packages/Python/lldbsuite/test/dotest_args.py
parentfda33eaf0cc63f6b25fd0e236bceeb1ae31ebfae (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud