Skip to content

Commit 35c1566

Browse files
committed
clang format
1 parent de364d8 commit 35c1566

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

clang/include/clang/Parse/ParseHLSLRootSignature.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ struct RootSignatureToken {
4141
// Constructors
4242
RootSignatureToken() : TokLoc(SourceLocation()) {}
4343
RootSignatureToken(clang::SourceLocation TokLoc) : TokLoc(TokLoc) {}
44-
RootSignatureToken(enum Kind Kind, clang::SourceLocation TokLoc) : Kind(Kind), TokLoc(TokLoc) {}
44+
RootSignatureToken(enum Kind Kind, clang::SourceLocation TokLoc)
45+
: Kind(Kind), TokLoc(TokLoc) {}
4546
};
4647
using TokenKind = enum RootSignatureToken::Kind;
4748

clang/lib/Parse/ParseHLSLRootSignature.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,8 @@ bool RootSignatureLexer::ConsumeToken() {
165165
// This will be implicity be true if NextToken->Kind == end_of_stream
166166
if (EndOfBuffer()) {
167167
// Report unexpected end of tokens error
168-
PP.getDiagnostics().Report(SourceLoc, diag::err_hlsl_rootsig_unexpected_eos);
168+
PP.getDiagnostics().Report(SourceLoc,
169+
diag::err_hlsl_rootsig_unexpected_eos);
169170
return true;
170171
}
171172

0 commit comments

Comments
 (0)