File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -386,8 +386,10 @@ void DependentBitIntType::Profile(llvm::FoldingSetNodeID &ID,
386
386
}
387
387
388
388
bool BoundsAttributedType::referencesFieldDecls () const {
389
- return llvm::any_of (dependent_decls (), [](const TypeCoupledDeclRefInfo &Info) {
390
- return isa<FieldDecl>(Info.getDecl ()); });
389
+ return llvm::any_of (dependent_decls (),
390
+ [](const TypeCoupledDeclRefInfo &Info) {
391
+ return isa<FieldDecl>(Info.getDecl ());
392
+ });
391
393
}
392
394
393
395
void CountAttributedType::Profile (llvm::FoldingSetNodeID &ID,
Original file line number Diff line number Diff line change @@ -9748,14 +9748,16 @@ QualType Sema::BuildTypeofExprType(Expr *E, TypeOfKind Kind) {
9748
9748
return Context.getTypeOfExprType (E, Kind);
9749
9749
}
9750
9750
9751
- static void BuildTypeCoupledDecls (Expr *E,
9752
- llvm::SmallVectorImpl<TypeCoupledDeclRefInfo> &Decls) {
9751
+ static void
9752
+ BuildTypeCoupledDecls (Expr *E,
9753
+ llvm::SmallVectorImpl<TypeCoupledDeclRefInfo> &Decls) {
9753
9754
// Currently, 'counted_by' only allows direct DeclRefExpr to FieldDecl.
9754
9755
auto *CountDecl = cast<DeclRefExpr>(E)->getDecl ();
9755
9756
Decls.push_back (TypeCoupledDeclRefInfo (CountDecl, /* IsDref*/ false ));
9756
9757
}
9757
9758
9758
- QualType Sema::BuildCountAttributedArrayType (QualType WrappedTy, Expr *CountExpr) {
9759
+ QualType Sema::BuildCountAttributedArrayType (QualType WrappedTy,
9760
+ Expr *CountExpr) {
9759
9761
assert (WrappedTy->isIncompleteArrayType ());
9760
9762
9761
9763
llvm::SmallVector<TypeCoupledDeclRefInfo, 1 > Decls;
You can’t perform that action at this time.
0 commit comments