summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/lang/cpp/nsimport
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2016-02-23 00:48:16 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2016-02-23 00:48:16 +0000
commitb5ce11fcc6b4706a56b5169acd23e47746e8b1bd (patch)
tree2213720a9885bdadf0d6a2b15492b43e80e0cad6 /lldb/packages/Python/lldbsuite/test/lang/cpp/nsimport
parentde19ed1eb1aca8493abb5168d46b7f6f3cf9e770 (diff)
downloadbcm5719-llvm-b5ce11fcc6b4706a56b5169acd23e47746e8b1bd.tar.gz
bcm5719-llvm-b5ce11fcc6b4706a56b5169acd23e47746e8b1bd.zip
Lex: Return "" when HeaderMap::lookupFilename fails
Change getString() to return Optional<StringRef>, and change lookupFilename() to return an empty string if either one of the prefix and suffix can't be found. This is a more robust follow-up to r261461, but it's still not entirely satisfactory. Ideally we'd report that the header map is corrupt; perhaps something for a follow-up. llvm-svn: 261596
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/nsimport')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud