Skip to content

Commit 2b19268

Browse files
committed
clang-format
1 parent 7a98e78 commit 2b19268

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

clang/lib/Sema/SemaTemplate.cpp

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -759,11 +759,13 @@ Sema::BuildDependentDeclRefExpr(const CXXScopeSpec &SS,
759759
TemplateArgs);
760760
}
761761

762-
bool Sema::DiagnoseUninstantiableTemplate(
763-
SourceLocation PointOfInstantiation, NamedDecl *Instantiation,
764-
bool InstantiatedFromMember, const NamedDecl *Pattern,
765-
const NamedDecl *PatternDef, TemplateSpecializationKind TSK,
766-
bool Complain, bool *Unreachable) {
762+
bool Sema::DiagnoseUninstantiableTemplate(SourceLocation PointOfInstantiation,
763+
NamedDecl *Instantiation,
764+
bool InstantiatedFromMember,
765+
const NamedDecl *Pattern,
766+
const NamedDecl *PatternDef,
767+
TemplateSpecializationKind TSK,
768+
bool Complain, bool *Unreachable) {
767769
assert(isa<TagDecl>(Instantiation) || isa<FunctionDecl>(Instantiation) ||
768770
isa<VarDecl>(Instantiation));
769771

clang/lib/Sema/SemaTemplateInstantiateDecl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5422,7 +5422,7 @@ void Sema::InstantiateFunctionDefinition(SourceLocation PointOfInstantiation,
54225422
<< Function;
54235423
if (Unreachable) {
54245424
// FIXME: would be nice to mention which module the function template
5425-
// comes from.
5425+
// comes from.
54265426
Diag(PatternDecl->getLocation(),
54275427
diag::note_unreachable_template_decl);
54285428
} else {

0 commit comments

Comments
 (0)