Skip to content

Commit 4b23dc4

Browse files
committed
clang-format
1 parent 1338e44 commit 4b23dc4

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

clang/lib/Sema/SemaHLSL.cpp

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -816,9 +816,11 @@ bool SemaHLSL::determineActiveSemanticOnScalar(
816816
return true;
817817
}
818818

819-
bool SemaHLSL::determineActiveSemantic(
820-
FunctionDecl *FD, DeclaratorDecl *OutputDecl, DeclaratorDecl *D,
821-
SemanticInfo &ActiveSemantic, llvm::StringSet<> &UsedSemantics) {
819+
bool SemaHLSL::determineActiveSemantic(FunctionDecl *FD,
820+
DeclaratorDecl *OutputDecl,
821+
DeclaratorDecl *D,
822+
SemanticInfo &ActiveSemantic,
823+
llvm::StringSet<> &UsedSemantics) {
822824
if (ActiveSemantic.Semantic == nullptr) {
823825
ActiveSemantic.Semantic = D->getAttr<HLSLParsedSemanticAttr>();
824826
if (ActiveSemantic.Semantic)
@@ -836,8 +838,7 @@ bool SemaHLSL::determineActiveSemantic(
836838
const RecordDecl *RD = RT->getDecl();
837839
for (FieldDecl *Field : RD->fields()) {
838840
SemanticInfo Info = ActiveSemantic;
839-
if (!determineActiveSemantic(FD, OutputDecl, Field, Info,
840-
UsedSemantics)) {
841+
if (!determineActiveSemantic(FD, OutputDecl, Field, Info, UsedSemantics)) {
841842
Diag(Field->getLocation(), diag::note_hlsl_semantic_used_here) << Field;
842843
return false;
843844
}

0 commit comments

Comments
 (0)