[Lldb-commits] [PATCH] D39844: CompilerType: Add ability to retrieve an integral template argument
Pavel Labath via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri Nov 10 02:40:47 PST 2017
labath updated this revision to Diff 122407.
labath marked 3 inline comments as done.
labath added a comment.
- provide default no-op implementations in TypeSystem, so derived classes don't have to override them if they don't want to
- have SBType::GetTemplateArgumentType return the type of the integral value for integral template arguments
- more tests: I have added a test to check we correctly see through the "auto" type and that the functions (correctly) return empty values when called on an argument of the wrong kind.
https://reviews.llvm.org/D39844
Files:
include/lldb/Symbol/ClangASTContext.h
include/lldb/Symbol/CompilerType.h
include/lldb/Symbol/GoASTContext.h
include/lldb/Symbol/JavaASTContext.h
include/lldb/Symbol/OCamlASTContext.h
include/lldb/Symbol/TypeSystem.h
include/lldb/lldb-enumerations.h
source/API/SBType.cpp
source/Plugins/Language/CPlusPlus/LibCxx.cpp
source/Plugins/Language/CPlusPlus/LibCxxInitializerList.cpp
source/Plugins/Language/CPlusPlus/LibCxxList.cpp
source/Plugins/Language/CPlusPlus/LibCxxMap.cpp
source/Plugins/Language/CPlusPlus/LibCxxUnorderedMap.cpp
source/Plugins/Language/CPlusPlus/LibCxxVector.cpp
source/Plugins/Language/CPlusPlus/LibStdcpp.cpp
source/Symbol/ClangASTContext.cpp
source/Symbol/CompilerType.cpp
source/Symbol/JavaASTContext.cpp
source/Symbol/TypeSystem.cpp
unittests/Symbol/TestClangASTContext.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39844.122407.patch
Type: text/x-patch
Size: 25225 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20171110/6463e712/attachment-0001.bin>
More information about the lldb-commits
mailing list