forked from OSchip/llvm-project
[Clang] Fix clang-tidy errors.
This commit is contained in:
parent
d8981ce5b9
commit
df48e3920a
|
@ -2026,7 +2026,8 @@ public:
|
|||
|
||||
static StringRef getIdentKindName(IdentKind IK);
|
||||
static std::string ComputeName(IdentKind IK, const Decl *CurrentDecl);
|
||||
static std::string ComputeName(ASTContext &Ctx, IdentKind IK, const QualType Ty);
|
||||
static std::string ComputeName(ASTContext &Context, IdentKind IK,
|
||||
const QualType Ty);
|
||||
|
||||
SourceLocation getBeginLoc() const { return getLocation(); }
|
||||
SourceLocation getEndLoc() const { return getLocation(); }
|
||||
|
|
|
@ -4824,7 +4824,7 @@ public:
|
|||
SourceLocation RParen, ParsedType Ty);
|
||||
ExprResult ActOnUniqueStableNameExpr(SourceLocation OpLoc,
|
||||
SourceLocation LParen,
|
||||
SourceLocation RParen, Expr *Operand);
|
||||
SourceLocation RParen, Expr *E);
|
||||
|
||||
bool CheckLoopHintExpr(Expr *E, SourceLocation Loc);
|
||||
|
||||
|
|
|
@ -522,7 +522,7 @@ PredefinedExpr::PredefinedExpr(SourceLocation L, QualType FnTy, IdentKind IK,
|
|||
}
|
||||
|
||||
PredefinedExpr::PredefinedExpr(SourceLocation L, QualType FnTy, IdentKind IK,
|
||||
Expr *Info)
|
||||
Expr *E)
|
||||
: Expr(PredefinedExprClass, FnTy, VK_LValue, OK_Ordinary) {
|
||||
PredefinedExprBits.Kind = IK;
|
||||
assert((getIdentKind() == IK) &&
|
||||
|
@ -531,7 +531,7 @@ PredefinedExpr::PredefinedExpr(SourceLocation L, QualType FnTy, IdentKind IK,
|
|||
"Constructor only valid with UniqueStableNameExpr");
|
||||
PredefinedExprBits.HasFunctionName = false;
|
||||
PredefinedExprBits.Loc = L;
|
||||
setExpr(Info);
|
||||
setExpr(E);
|
||||
setDependence(computeDependence(this));
|
||||
}
|
||||
|
||||
|
|
|
@ -476,8 +476,7 @@ static void RunRandTest(uint64_t Seed, int Size, int MinCount, int MaxCount,
|
|||
}
|
||||
|
||||
auto *Assume = cast<IntrinsicInst>(IntrinsicInst::Create(
|
||||
FnAssume, ArrayRef<Value *>({ConstantInt::getTrue(C)}),
|
||||
std::move(OpBundle)));
|
||||
FnAssume, ArrayRef<Value *>({ConstantInt::getTrue(C)}), OpBundle));
|
||||
Assume->insertBefore(&F->begin()->front());
|
||||
RetainedKnowledgeMap Map;
|
||||
fillMapFromAssume(*Assume, Map);
|
||||
|
|
Loading…
Reference in New Issue