[lldb][NFC] Make include directories in Clang expression parser a std::string
authorRaphael Isemann <teemperor@gmail.com>
Wed, 11 Sep 2019 14:33:11 +0000 (14:33 +0000)
committerRaphael Isemann <teemperor@gmail.com>
Wed, 11 Sep 2019 14:33:11 +0000 (14:33 +0000)
commit3ad8278737d042c6b5b61c0143ee68db66be91fe
tree104da15fc1973caf0f786391ad39807e5aaba3f6
parent1ccba7c1a106fa4921fabae769e5d6ca99c10f04
[lldb][NFC] Make include directories in Clang expression parser a std::string

We never compare these directories (where ConstString would be good) and
essentially just convert this back to a normal string in the end. So we might
as well just use std::string. Also makes it easier to unittest this code
(which was the main motivation for this change).

llvm-svn: 371623
lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.h
lldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp
lldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.h