diff options
author | Michael Buch <michaelbuch12@gmail.com> | 2025-01-27 14:57:09 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-27 14:57:09 +0000 |
commit | 5c5bbffe75caaaefdc68305e85a625a057b09159 (patch) | |
tree | b78feb66e6f2501be919d65028e2de9e3842d3bb /llvm/lib/Transforms/Utils/InlineFunction.cpp | |
parent | 081723b9db84e78d7dd240b46af2aeb3b51b00be (diff) | |
download | llvm-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