aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/ProgramTest.cpp
diff options
context:
space:
mode:
authorMichael Buch <michaelbuch12@gmail.com>2022-10-27 11:09:22 +0100
committerMichael Buch <michaelbuch12@gmail.com>2022-10-31 12:25:18 +0000
commit76f34ed2837880c1865202f28988b01c93ac4f89 (patch)
treef614a6fe4033d33ea98408507dba92ff64eb18a8 /llvm/unittests/Support/ProgramTest.cpp
parentd0bf48c7b179027d978c479167e23825b8d0c4f6 (diff)
downloadllvm-76f34ed2837880c1865202f28988b01c93ac4f89.zip
llvm-76f34ed2837880c1865202f28988b01c93ac4f89.tar.gz
llvm-76f34ed2837880c1865202f28988b01c93ac4f89.tar.bz2
[lldb][CPlusPlus] Introduce CPlusPlusLanguage::MethodName::GetReturnType
This patch adds a way to extract the return type out of the `CPlusPlusNameParser`. This will be useful for cases where we want a function's basename *and* the return type but not the function arguments; this is currently not possible (the parser either gives us the full name or just the basename). Since the parser knows how to handle return types already we should just expose this to users that need it. **Testing** * Added unit-tests Differential Revision: https://reviews.llvm.org/D136935
Diffstat (limited to 'llvm/unittests/Support/ProgramTest.cpp')
0 files changed, 0 insertions, 0 deletions