Skip to content

Commit 67c3a59

Browse files
committed
Cleanup some unnecessary change.
1 parent 4ff4b5b commit 67c3a59

File tree

3 files changed

+13
-11
lines changed

3 files changed

+13
-11
lines changed

clang/include/clang/AST/Expr.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2008,8 +2008,10 @@ class PredefinedExpr final
20082008
private llvm::TrailingObjects<PredefinedExpr, Stmt *> {
20092009
friend class ASTStmtReader;
20102010
friend TrailingObjects;
2011+
20112012
/// The location of this PredefinedExpr.
20122013
SourceLocation Loc;
2014+
20132015
// PredefinedExpr is optionally followed by a single trailing
20142016
// "Stmt *" for the predefined identifier. It is present if and only if
20152017
// hasFunctionName() is true and is always a "StringLiteral *".
@@ -6110,6 +6112,7 @@ class GenericSelectionExpr final
61106112
friend class ASTStmtReader;
61116113
friend class ASTStmtWriter;
61126114
friend TrailingObjects;
6115+
61136116
/// The number of association expressions and the index of the result
61146117
/// expression in the case where the generic selection expression is not
61156118
/// result-dependent. The result index is equal to ResultDependentIndex

clang/include/clang/AST/ExprCXX.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1160,7 +1160,6 @@ class CXXUuidofExpr : public Expr {
11601160
/// };
11611161
/// \endcode
11621162
class CXXThisExpr : public Expr {
1163-
11641163
CXXThisExpr(SourceLocation L, QualType Ty, bool IsImplicit, ExprValueKind VK)
11651164
: Expr(CXXThisExprClass, Ty, VK, OK_Ordinary) {
11661165
CXXThisExprBits.IsImplicit = IsImplicit;
@@ -1573,6 +1572,7 @@ class CXXConstructExpr : public Expr {
15731572

15741573
/// The number of arguments.
15751574
unsigned NumArgs;
1575+
15761576
SourceLocation Loc;
15771577
// We would like to stash the arguments of the constructor call after
15781578
// CXXConstructExpr. However CXXConstructExpr is used as a base class of

clang/include/clang/AST/Stmt.h

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ class alignas(void *) Stmt {
202202
LLVM_PREFERRED_TYPE(bool)
203203
uint64_t HasInit : 1;
204204

205-
/// The location of the "if"
205+
/// The location of the "if".
206206
LLVM_PREFERRED_TYPE(SourceLocation)
207207
uint64_t IfLoc : SourceLocation::Bits;
208208
};
@@ -243,7 +243,7 @@ class alignas(void *) Stmt {
243243
LLVM_PREFERRED_TYPE(bool)
244244
uint64_t HasVar : 1;
245245

246-
/// The location of the "while"
246+
/// The location of the "while".
247247
LLVM_PREFERRED_TYPE(SourceLocation)
248248
uint64_t WhileLoc : SourceLocation::Bits;
249249
};
@@ -265,7 +265,7 @@ class alignas(void *) Stmt {
265265
LLVM_PREFERRED_TYPE(StmtBitfields)
266266
uint64_t : NumStmtBits;
267267

268-
/// The location of the "for"
268+
/// The location of the "for".
269269
LLVM_PREFERRED_TYPE(SourceLocation)
270270
uint64_t ForLoc : SourceLocation::Bits;
271271
};
@@ -277,7 +277,7 @@ class alignas(void *) Stmt {
277277
LLVM_PREFERRED_TYPE(StmtBitfields)
278278
uint64_t : NumStmtBits;
279279

280-
/// The location of the "goto"
280+
/// The location of the "goto".
281281
LLVM_PREFERRED_TYPE(SourceLocation)
282282
uint64_t GotoLoc : SourceLocation::Bits;
283283
};
@@ -288,7 +288,7 @@ class alignas(void *) Stmt {
288288
LLVM_PREFERRED_TYPE(StmtBitfields)
289289
uint64_t : NumStmtBits;
290290

291-
/// The location of the "continue"
291+
/// The location of the "continue".
292292
LLVM_PREFERRED_TYPE(SourceLocation)
293293
uint64_t ContinueLoc : SourceLocation::Bits;
294294
};
@@ -299,7 +299,7 @@ class alignas(void *) Stmt {
299299
LLVM_PREFERRED_TYPE(StmtBitfields)
300300
uint64_t : NumStmtBits;
301301

302-
/// The location of the "break"
302+
/// The location of the "break".
303303
LLVM_PREFERRED_TYPE(SourceLocation)
304304
uint64_t BreakLoc : SourceLocation::Bits;
305305
};
@@ -314,7 +314,7 @@ class alignas(void *) Stmt {
314314
LLVM_PREFERRED_TYPE(bool)
315315
uint64_t HasNRVOCandidate : 1;
316316

317-
/// The location of the "return"
317+
/// The location of the "return".
318318
LLVM_PREFERRED_TYPE(SourceLocation)
319319
uint64_t RetLoc : SourceLocation::Bits;
320320
};
@@ -626,7 +626,6 @@ class alignas(void *) Stmt {
626626
// SourceLocation OperatorLoc;
627627
};
628628

629-
// 8 bytes
630629
class CastExprBitfields {
631630
friend class CastExpr;
632631
friend class ImplicitCastExpr;
@@ -699,7 +698,7 @@ class alignas(void *) Stmt {
699698
LLVM_PREFERRED_TYPE(ExprBitfields)
700699
uint64_t : NumExprBits;
701700

702-
/// The location of the "_Generic"
701+
/// The location of the "_Generic".
703702
LLVM_PREFERRED_TYPE(SourceLocation)
704703
uint64_t GenericLoc : SourceLocation::Bits;
705704
};
@@ -2546,7 +2545,7 @@ class SwitchStmt final : public Stmt,
25462545

25472546
/// Points to a linked list of case and default statements.
25482547
SwitchCase *FirstCase = nullptr;
2549-
2548+
25502549
SourceLocation LParenLoc;
25512550
SourceLocation RParenLoc;
25522551

0 commit comments

Comments
 (0)