summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
diff options
context:
space:
mode:
authorKim Gräsman <kim.grasman@gmail.com>2024-08-26 19:49:56 +0200
committerGitHub <noreply@github.com>2024-08-26 14:49:56 -0300
commit924a7d83b4287b3b85dd1ca29d2d3e1f0a10ea68 (patch)
tree1530e289a7319cb63c9b01f3794b3ef5a07f1c34 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
parent1387ba48a312b6e9b174d850f8c9a1322f44c623 (diff)
Use CLANG_RESOURCE_DIR more consistently (#103388)
When Clang is consumed as a library, the CLANG_RESOURCE_DIR definition is not exported from the CMake system, so external clients will be unable to compute the same resource dir as Clang itself would, because they don't know what to pass for the optional CustomResourceDir argument. All call sites except one would pass CLANG_RESOURCE_DIR to Driver::GetResourcesPath. It seems the one exception in libclang CIndexer was an oversight. Move the use of CLANG_RESOURCE_DIR into GetResourcesPath and remove the optional argument to avoid this inconsistency between internal and external clients.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions