Skip to content

Commit 44a2a0d

Browse files
Megan0704-1frederik-h
authored andcommitted
[NFC] Fix formatting for llvm#80963 (llvm#131100)
This PR fixes formatting issues in `constructor-template.cpp` introduced in llvm#130866. Changes: - Ran `clang-format` to adhere to LLVM style guidelines. - No functional changes. CC: @cor3ntin @shafik Thanks
1 parent 673164f commit 44a2a0d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

clang/lib/Sema/SemaDeclCXX.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10938,8 +10938,7 @@ void Sema::CheckConstructor(CXXConstructorDecl *Constructor) {
1093810938
// parameters have default arguments.
1093910939
if (!Constructor->isInvalidDecl() &&
1094010940
Constructor->hasOneParamOrDefaultArgs() &&
10941-
!Constructor->isFunctionTemplateSpecialization()
10942-
) {
10941+
!Constructor->isFunctionTemplateSpecialization()) {
1094310942
QualType ParamType = Constructor->getParamDecl(0)->getType();
1094410943
QualType ClassTy = Context.getTagDeclType(ClassDecl);
1094510944
if (Context.getCanonicalType(ParamType).getUnqualifiedType() == ClassTy) {

0 commit comments

Comments
 (0)