summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorWalter Lee <49250218+googlewalt@users.noreply.github.com>2025-09-04 08:00:42 -0400
committerGitHub <noreply@github.com>2025-09-04 08:00:42 -0400
commitf1c9950cc8b628e6f0ba7dcd1b1c0b393c54e032 (patch)
tree7ad51072c899733f90fd41890ffde5b2f6212312 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent5899bca6baa99977c48c7c053239e0028a14182d (diff)
[clang-tidy] Fix file extension inconsistency (#156528)
This fixes an issue with #150791. In CheckRunner, we treat files with unrecognized extensions as ".cpp", by forcefully assigning `extension = ".cpp"` if it's not already one of `".c", ".hpp", ".m", or ".mm"`. Make the new code which chooses the default `-std` argument be consistent with that, so that using other file extensions doesn't trigger an error message like `error: invalid argument '-std=c99' not allowed with 'C++'`
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions