aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/InlineFunction.cpp
diff options
context:
space:
mode:
authorMichael Buch <michaelbuch12@gmail.com>2025-01-27 14:57:09 +0000
committerGitHub <noreply@github.com>2025-01-27 14:57:09 +0000
commit5c5bbffe75caaaefdc68305e85a625a057b09159 (patch)
treeb78feb66e6f2501be919d65028e2de9e3842d3bb /llvm/lib/Transforms/Utils/InlineFunction.cpp
parent081723b9db84e78d7dd240b46af2aeb3b51b00be (diff)
downloadllvm-5c5bbffe75caaaefdc68305e85a625a057b09159.zip
llvm-5c5bbffe75caaaefdc68305e85a625a057b09159.tar.gz
llvm-5c5bbffe75caaaefdc68305e85a625a057b09159.tar.bz2
[clang][ASTImporter] Import source location of explicit object parameter instead of copying it (#124305)
We used to copy the `SourceLocation` instead of importing it, which isn't correct since the `SourceManager`'s of the source and target ASTContext might differ. Also adds test that confirms that we import the explicit object parameter location for `ParmVarDecl`s. This is how Clang determines whether a parameter `isExplicitObjectParamater`. The LLDB expression evaluator relies on this for calling "explicit object member functions".
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions