summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2018-01-23 20:56:52 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2018-01-23 20:56:52 +0000
commit93a8b19d8c03b00bdfa5afc78f73fa2b17f5d285 (patch)
tree3884529d38a7217181681f069ddbc091f7f68d0a /clang/lib/AST
parent92f7a6200c1b78108328247e65effe1ec905b4bb (diff)
downloadbcm5719-llvm-93a8b19d8c03b00bdfa5afc78f73fa2b17f5d285.tar.gz
bcm5719-llvm-93a8b19d8c03b00bdfa5afc78f73fa2b17f5d285.zip
AST: correct mangling for SEL on MS ABI
We would previously treat `SEL` as a pointer-only type. This is not the case. It should be treated similarly to `id` and `Class`. Add some test cases to ensure that it will be properly handled as well. llvm-svn: 323257
Diffstat (limited to 'clang/lib/AST')
-rw-r--r--clang/lib/AST/MicrosoftMangle.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/AST/MicrosoftMangle.cpp b/clang/lib/AST/MicrosoftMangle.cpp
index e97e8bda96f..5d1073811b1 100644
--- a/clang/lib/AST/MicrosoftMangle.cpp
+++ b/clang/lib/AST/MicrosoftMangle.cpp
@@ -1839,7 +1839,6 @@ void MicrosoftCXXNameMangler::mangleType(const BuiltinType *T, Qualifiers,
mangleArtificalTagType(TTK_Struct, "objc_class");
break;
case BuiltinType::ObjCSel:
- Out << "PA";
mangleArtificalTagType(TTK_Struct, "objc_selector");
break;
OpenPOWER on IntegriCloud