diff options
author | Richard Trieu <rtrieu@google.com> | 2018-08-30 01:57:52 +0000 |
---|---|---|
committer | Richard Trieu <rtrieu@google.com> | 2018-08-30 01:57:52 +0000 |
commit | a986a312424d19f146da851c276d57cbdb717d8c (patch) | |
tree | 3c0bbec6421876d83ebbd5aee9cf391742cab0f2 /lldb/packages/Python/lldbsuite/test/functionalities/command_script/main.cpp | |
parent | f6c87eb9651dfdf0f9c9b35a08258be152468e16 (diff) | |
download | bcm5719-llvm-a986a312424d19f146da851c276d57cbdb717d8c.tar.gz bcm5719-llvm-a986a312424d19f146da851c276d57cbdb717d8c.zip |
Ensure canonical type is actually canonical.
ASTContext::applyObjCProtocolQualifiers will return a canonical type when given
a canonical type and an array of canonical protocols. If the protocols are not
canonical then the returned type is also not canonical. Since a canonical type is needed, canonicalize the returned type before using it. This later prevents
a type from having a non-canonical canonical type.
llvm-svn: 341013
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/command_script/main.cpp')
0 files changed, 0 insertions, 0 deletions