File tree Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -28,8 +28,8 @@ static bool isInSingleDeclStmt(const DeclaratorDecl *D) {
2828 return false ;
2929}
3030
31- static const DeclaratorDecl *getConstructedVarOrField ( const Expr *FoundConstructExpr,
32- ASTContext &Ctx) {
31+ static const DeclaratorDecl *
32+ getConstructedVarOrField ( const Expr *FoundConstructExpr, ASTContext &Ctx) {
3333 const DynTypedNodeList ConstructParents =
3434 Ctx.getParentMapContext ().getParents (*FoundConstructExpr);
3535 if (ConstructParents.size () != 1 )
Original file line number Diff line number Diff line change @@ -99,8 +99,9 @@ static auto hasWantedType(llvm::ArrayRef<StringRef> TypeNames) {
9999
100100// Matches member call expressions of the named method on the listed container
101101// types.
102- static auto cxxMemberCallExprOnContainer (StringRef MethodName,
103- llvm::ArrayRef<StringRef> ContainerNames) {
102+ static auto
103+ cxxMemberCallExprOnContainer (StringRef MethodName,
104+ llvm::ArrayRef<StringRef> ContainerNames) {
104105 return cxxMemberCallExpr (
105106 hasDeclaration (functionDecl (hasName (MethodName))),
106107 on (hasTypeOrPointeeType (hasWantedType (ContainerNames))));
@@ -115,7 +116,8 @@ static const auto DefaultContainersWithPushFront =
115116static const auto DefaultSmartPointers =
116117 " ::std::shared_ptr; ::std::unique_ptr; ::std::auto_ptr; ::std::weak_ptr" ;
117118static const auto DefaultTupleTypes = " ::std::pair; ::std::tuple" ;
118- static const auto DefaultTupleMakeFunctions = " ::std::make_pair; ::std::make_tuple" ;
119+ static const auto DefaultTupleMakeFunctions =
120+ " ::std::make_pair; ::std::make_tuple" ;
119121static const auto DefaultEmplacyFunctions =
120122 " vector::emplace_back; vector::emplace;"
121123 " deque::emplace; deque::emplace_front; deque::emplace_back;"
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ ExceptionAnalyzer::ExceptionInfo &ExceptionAnalyzer::ExceptionInfo::merge(
4646// FIXME: This could be ported to clang later.
4747
4848static bool isUnambiguousPublicBaseClass (const Type *DerivedType,
49- const Type *BaseType) {
49+ const Type *BaseType) {
5050 const auto *DerivedClass =
5151 DerivedType->getCanonicalTypeUnqualified ()->getAsCXXRecordDecl ();
5252 const auto *BaseClass =
@@ -192,7 +192,7 @@ static bool isFunctionPointerConvertible(QualType From, QualType To) {
192192//
193193// The function should only be called in C++ mode.
194194static bool isQualificationConvertiblePointer (QualType From, QualType To,
195- LangOptions LangOpts) {
195+ LangOptions LangOpts) {
196196
197197 // [N4659 7.5 (1)]
198198 // A cv-decomposition of a type T is a sequence of cv_i and P_i such that T is
You can’t perform that action at this time.
0 commit comments