summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2018-08-01 11:56:20 +0000
committerNico Weber <nicolasweber@gmx.de>2018-08-01 11:56:20 +0000
commit2b5f3fd7ab1343583cea30a2b96fd3abc9f90c8e (patch)
tree841c44889934ba157835355c2671b240bdb551a0 /clang/lib/AST
parent186478d8e24064658c6e21e89b36280dd9b9712a (diff)
downloadbcm5719-llvm-2b5f3fd7ab1343583cea30a2b96fd3abc9f90c8e.tar.gz
bcm5719-llvm-2b5f3fd7ab1343583cea30a2b96fd3abc9f90c8e.zip
wrap to 80 cols, no behavior change
llvm-svn: 338520
Diffstat (limited to 'clang/lib/AST')
-rw-r--r--clang/lib/AST/MicrosoftMangle.cpp16
1 files changed, 9 insertions, 7 deletions
diff --git a/clang/lib/AST/MicrosoftMangle.cpp b/clang/lib/AST/MicrosoftMangle.cpp
index f8d378ea0c2..5db51b5cb38 100644
--- a/clang/lib/AST/MicrosoftMangle.cpp
+++ b/clang/lib/AST/MicrosoftMangle.cpp
@@ -1373,13 +1373,14 @@ void MicrosoftCXXNameMangler::mangleTemplateArg(const TemplateDecl *TD,
case TemplateArgument::Declaration: {
const NamedDecl *ND = TA.getAsDecl();
if (isa<FieldDecl>(ND) || isa<IndirectFieldDecl>(ND)) {
- mangleMemberDataPointer(
- cast<CXXRecordDecl>(ND->getDeclContext())->getMostRecentNonInjectedDecl(),
- cast<ValueDecl>(ND));
+ mangleMemberDataPointer(cast<CXXRecordDecl>(ND->getDeclContext())
+ ->getMostRecentNonInjectedDecl(),
+ cast<ValueDecl>(ND));
} else if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(ND)) {
const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(FD);
if (MD && MD->isInstance()) {
- mangleMemberFunctionPointer(MD->getParent()->getMostRecentNonInjectedDecl(), MD);
+ mangleMemberFunctionPointer(
+ MD->getParent()->getMostRecentNonInjectedDecl(), MD);
} else {
Out << "$1?";
mangleName(FD);
@@ -2285,7 +2286,8 @@ void MicrosoftCXXNameMangler::mangleType(const TagDecl *TD) {
// If you add a call to this, consider updating isArtificialTagType() too.
void MicrosoftCXXNameMangler::mangleArtificalTagType(
- TagTypeKind TK, StringRef UnqualifiedName, ArrayRef<StringRef> NestedNames) {
+ TagTypeKind TK, StringRef UnqualifiedName,
+ ArrayRef<StringRef> NestedNames) {
// <name> ::= <unscoped-name> {[<named-scope>]+ | [<nested-name>]}? @
mangleTagTypeKind(TK);
@@ -2372,8 +2374,8 @@ void MicrosoftCXXNameMangler::mangleArrayType(const ArrayType *T) {
// <type> ::= <pointer-to-member-type>
// <pointer-to-member-type> ::= <pointer-cvr-qualifiers> <cvr-qualifiers>
// <class name> <type>
-void MicrosoftCXXNameMangler::mangleType(const MemberPointerType *T, Qualifiers Quals,
- SourceRange Range) {
+void MicrosoftCXXNameMangler::mangleType(const MemberPointerType *T,
+ Qualifiers Quals, SourceRange Range) {
QualType PointeeType = T->getPointeeType();
manglePointerCVQualifiers(Quals);
manglePointerExtQualifiers(Quals, PointeeType);
OpenPOWER on IntegriCloud