2 changes: 1 addition & 1 deletion llvm/include/llvm/Analysis/ObjCARCAliasAnalysis.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class ObjCARCAAResult : public AAResultBase<ObjCARCAAResult> {
const DataLayout &DL;

public:
explicit ObjCARCAAResult(const DataLayout &DL) : AAResultBase(), DL(DL) {}
explicit ObjCARCAAResult(const DataLayout &DL) : DL(DL) {}
ObjCARCAAResult(ObjCARCAAResult &&Arg)
: AAResultBase(std::move(Arg)), DL(Arg.DL) {}

Expand Down
2 changes: 1 addition & 1 deletion llvm/include/llvm/Analysis/ScalarEvolutionAliasAnalysis.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class SCEVAAResult : public AAResultBase<SCEVAAResult> {
ScalarEvolution &SE;

public:
explicit SCEVAAResult(ScalarEvolution &SE) : AAResultBase(), SE(SE) {}
explicit SCEVAAResult(ScalarEvolution &SE) : SE(SE) {}
SCEVAAResult(SCEVAAResult &&Arg) : AAResultBase(std::move(Arg)), SE(Arg.SE) {}

AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB,
Expand Down
2 changes: 1 addition & 1 deletion llvm/include/llvm/CodeGen/CodeGenPassBuilder.h
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ template <typename DerivedT> class CodeGenPassBuilder {
class AddIRPass {
public:
AddIRPass(ModulePassManager &MPM, bool DebugPM, bool Check = true)
: MPM(MPM), FPM() {
: MPM(MPM) {
if (Check)
AddingFunctionPasses = false;
}
Expand Down
2 changes: 1 addition & 1 deletion llvm/include/llvm/CodeGen/GlobalISel/CallLowering.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ class CallLowering {
bool IsFixed = true)
: ArgInfo(Regs, OrigValue.getType(), OrigIndex, Flags, IsFixed, &OrigValue) {}

ArgInfo() : BaseArgInfo() {}
ArgInfo() {}
};

struct CallLoweringInfo {
Expand Down
2 changes: 1 addition & 1 deletion llvm/include/llvm/CodeGen/GlobalISel/LegalizerInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ class LegalizeRuleSet {
}

public:
LegalizeRuleSet() : AliasOf(0), IsAliasedByAnother(false), Rules() {}
LegalizeRuleSet() : AliasOf(0), IsAliasedByAnother(false) {}

bool isAliasedByAnother() { return IsAliasedByAnother; }
void setIsAliasedByAnother() { IsAliasedByAnother = true; }
Expand Down
4 changes: 2 additions & 2 deletions llvm/include/llvm/CodeGen/GlobalISel/RegBankSelect.h
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ class RegBankSelect : public MachineFunctionPass {

public:
MBBInsertPoint(MachineBasicBlock &MBB, bool Beginning = true)
: InsertPoint(), MBB(MBB), Beginning(Beginning) {
: MBB(MBB), Beginning(Beginning) {
// If we try to insert before phis, we should use the insertion
// points on the incoming edges.
assert((!Beginning || MBB.getFirstNonPHI() == MBB.begin()) &&
Expand Down Expand Up @@ -299,7 +299,7 @@ class RegBankSelect : public MachineFunctionPass {

public:
EdgeInsertPoint(MachineBasicBlock &Src, MachineBasicBlock &Dst, Pass &P)
: InsertPoint(), Src(Src), DstOrSplit(&Dst), P(P) {}
: Src(Src), DstOrSplit(&Dst), P(P) {}

bool isSplit() const override {
return Src.succ_size() > 1 && DstOrSplit->pred_size() > 1;
Expand Down
6 changes: 3 additions & 3 deletions llvm/include/llvm/CodeGen/MachinePassManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ class MachineFunctionAnalysisManager : public AnalysisManager<MachineFunction> {
public:
using Base = AnalysisManager<MachineFunction>;

MachineFunctionAnalysisManager() : Base(), FAM(nullptr), MAM(nullptr) {}
MachineFunctionAnalysisManager() : FAM(nullptr), MAM(nullptr) {}
MachineFunctionAnalysisManager(FunctionAnalysisManager &FAM,
ModuleAnalysisManager &MAM)
: Base(), FAM(&FAM), MAM(&MAM) {}
: FAM(&FAM), MAM(&MAM) {}
MachineFunctionAnalysisManager(MachineFunctionAnalysisManager &&) = default;
MachineFunctionAnalysisManager &
operator=(MachineFunctionAnalysisManager &&) = default;
Expand Down Expand Up @@ -135,7 +135,7 @@ class MachineFunctionPassManager
MachineFunctionPassManager(bool DebugLogging = false,
bool RequireCodeGenSCCOrder = false,
bool VerifyMachineFunction = false)
: Base(), RequireCodeGenSCCOrder(RequireCodeGenSCCOrder),
: RequireCodeGenSCCOrder(RequireCodeGenSCCOrder),
VerifyMachineFunction(VerifyMachineFunction) {}
MachineFunctionPassManager(MachineFunctionPassManager &&) = default;
MachineFunctionPassManager &
Expand Down
2 changes: 1 addition & 1 deletion llvm/include/llvm/CodeGen/SelectionDAGAddressAnalysis.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class BaseIndexOffset {
public:
BaseIndexOffset() = default;
BaseIndexOffset(SDValue Base, SDValue Index, bool IsIndexSignExt)
: Base(Base), Index(Index), Offset(), IsIndexSignExt(IsIndexSignExt) {}
: Base(Base), Index(Index), IsIndexSignExt(IsIndexSignExt) {}
BaseIndexOffset(SDValue Base, SDValue Index, int64_t Offset,
bool IsIndexSignExt)
: Base(Base), Index(Index), Offset(Offset),
Expand Down
4 changes: 2 additions & 2 deletions llvm/include/llvm/DWARFLinker/DWARFLinker.h
Original file line number Diff line number Diff line change
Expand Up @@ -385,8 +385,8 @@ class DWARFLinker {
: Die(Die), Type(T), CU(CU), Flags(0), OtherInfo(OtherInfo) {}

WorklistItem(unsigned AncestorIdx, CompileUnit &CU, unsigned Flags)
: Die(), Type(WorklistItemType::LookForParentDIEsToKeep), CU(CU),
Flags(Flags), AncestorIdx(AncestorIdx) {}
: Type(WorklistItemType::LookForParentDIEsToKeep), CU(CU), Flags(Flags),
AncestorIdx(AncestorIdx) {}
};

/// returns true if we need to translate strings.
Expand Down
2 changes: 1 addition & 1 deletion llvm/include/llvm/DebugInfo/GSYM/StringTable.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ namespace gsym {
/// string at offset zero. Strings must be UTF8 NULL terminated strings.
struct StringTable {
StringRef Data;
StringTable() : Data() {}
StringTable() {}
StringTable(StringRef D) : Data(D) {}
StringRef operator[](size_t Offset) const { return getString(Offset); }
StringRef getString(uint32_t Offset) const {
Expand Down
4 changes: 2 additions & 2 deletions llvm/include/llvm/DebugInfo/Symbolize/DIPrinter.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class PlainPrinterBase : public DIPrinter {

public:
PlainPrinterBase(raw_ostream &OS, raw_ostream &ES, PrinterConfig &Config)
: DIPrinter(), OS(OS), ES(ES), Config(Config) {}
: OS(OS), ES(ES), Config(Config) {}

void print(const Request &Request, const DILineInfo &Info) override;
void print(const Request &Request, const DIInliningInfo &Info) override;
Expand Down Expand Up @@ -138,7 +138,7 @@ class JSONPrinter : public DIPrinter {

public:
JSONPrinter(raw_ostream &OS, PrinterConfig &Config)
: DIPrinter(), OS(OS), Config(Config) {}
: OS(OS), Config(Config) {}

void print(const Request &Request, const DILineInfo &Info) override;
void print(const Request &Request, const DIInliningInfo &Info) override;
Expand Down
3 changes: 1 addition & 2 deletions llvm/include/llvm/FileCheck/FileCheck.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,7 @@ class FileCheckType {
std::bitset<FileCheckKindModifier::Size> Modifiers;

public:
FileCheckType(FileCheckKind Kind = CheckNone)
: Kind(Kind), Count(1), Modifiers() {}
FileCheckType(FileCheckKind Kind = CheckNone) : Kind(Kind), Count(1) {}
FileCheckType(const FileCheckType &) = default;
FileCheckType &operator=(const FileCheckType &) = default;

Expand Down
3 changes: 1 addition & 2 deletions llvm/include/llvm/IR/LegacyPassManagers.h
Original file line number Diff line number Diff line change
Expand Up @@ -459,8 +459,7 @@ class PMDataManager {
class FPPassManager : public ModulePass, public PMDataManager {
public:
static char ID;
explicit FPPassManager()
: ModulePass(ID), PMDataManager() { }
explicit FPPassManager() : ModulePass(ID) {}

/// run - Execute all of the passes scheduled for execution. Keep track of
/// whether any of the passes modifies the module, and if so, return true.
Expand Down
2 changes: 1 addition & 1 deletion llvm/include/llvm/MCA/HardwareUnits/LSUnit.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class MemoryGroup {
MemoryGroup()
: NumPredecessors(0), NumExecutingPredecessors(0),
NumExecutedPredecessors(0), NumInstructions(0), NumExecuting(0),
NumExecuted(0), CriticalPredecessor(), CriticalMemoryInstruction() {}
NumExecuted(0), CriticalPredecessor() {}
MemoryGroup(MemoryGroup &&) = default;

size_t getNumSuccessors() const {
Expand Down
4 changes: 2 additions & 2 deletions llvm/include/llvm/MCA/HardwareUnits/ResourceManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ class DefaultResourceStrategy final : public ResourceStrategy {

public:
DefaultResourceStrategy(uint64_t UnitMask)
: ResourceStrategy(), ResourceUnitMask(UnitMask),
NextInSequenceMask(UnitMask), RemovedFromNextInSequence(0) {}
: ResourceUnitMask(UnitMask), NextInSequenceMask(UnitMask),
RemovedFromNextInSequence(0) {}
virtual ~DefaultResourceStrategy() = default;

uint64_t select(uint64_t ReadyMask) override;
Expand Down
2 changes: 1 addition & 1 deletion llvm/include/llvm/MCA/Stages/EntryStage.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class EntryStage final : public Stage {
EntryStage &operator=(const EntryStage &Other) = delete;

public:
EntryStage(SourceMgr &SM) : CurrentInstruction(), SM(SM), NumRetired(0) { }
EntryStage(SourceMgr &SM) : SM(SM), NumRetired(0) {}

bool isAvailable(const InstRef &IR) const override;
bool hasWorkToComplete() const override;
Expand Down
2 changes: 1 addition & 1 deletion llvm/include/llvm/MCA/Stages/ExecuteStage.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class ExecuteStage final : public Stage {
public:
ExecuteStage(Scheduler &S) : ExecuteStage(S, false) {}
ExecuteStage(Scheduler &S, bool ShouldPerformBottleneckAnalysis)
: Stage(), HWS(S), NumDispatchedOpcodes(0), NumIssuedOpcodes(0),
: HWS(S), NumDispatchedOpcodes(0), NumIssuedOpcodes(0),
EnablePressureEvents(ShouldPerformBottleneckAnalysis) {}

// This stage works under the assumption that the Pipeline will eventually
Expand Down
2 changes: 1 addition & 1 deletion llvm/include/llvm/MCA/Stages/InOrderIssueStage.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ struct StallInfo {
unsigned CyclesLeft;
StallKind Kind;

StallInfo() : IR(), CyclesLeft(), Kind(StallKind::DEFAULT) {}
StallInfo() : CyclesLeft(), Kind(StallKind::DEFAULT) {}

StallKind getStallKind() const { return Kind; }
unsigned getCyclesLeft() const { return CyclesLeft; }
Expand Down
2 changes: 1 addition & 1 deletion llvm/include/llvm/MCA/Stages/InstructionTables.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class InstructionTables final : public Stage {

public:
InstructionTables(const MCSchedModel &Model)
: Stage(), SM(Model), Masks(Model.getNumProcResourceKinds()) {
: SM(Model), Masks(Model.getNumProcResourceKinds()) {
computeProcResourceMasks(Model, Masks);
}

Expand Down
2 changes: 1 addition & 1 deletion llvm/include/llvm/MCA/Stages/RetireStage.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class RetireStage final : public Stage {

public:
RetireStage(RetireControlUnit &R, RegisterFile &F, LSUnitBase &LS)
: Stage(), RCU(R), PRF(F), LSU(LS) {}
: RCU(R), PRF(F), LSU(LS) {}

bool hasWorkToComplete() const override { return !RCU.isEmpty(); }
Error cycleStart() override;
Expand Down
2 changes: 1 addition & 1 deletion llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,7 @@ class LineCoverageIterator

LineCoverageIterator(const CoverageData &CD, unsigned Line)
: CD(CD), WrappedSegment(nullptr), Next(CD.begin()), Ended(false),
Line(Line), Segments(), Stats() {
Line(Line) {
this->operator++();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ class CoverageMappingIterator {
using reference = value_type &;

CoverageMappingIterator()
: Reader(nullptr), Record(), ReadErr(coveragemap_error::success) {}
: Reader(nullptr), ReadErr(coveragemap_error::success) {}

CoverageMappingIterator(CoverageMappingReader *Reader)
: Reader(Reader), Record(), ReadErr(coveragemap_error::success) {
: Reader(Reader), ReadErr(coveragemap_error::success) {
increment();
}

Expand Down
2 changes: 1 addition & 1 deletion llvm/include/llvm/Remarks/RemarkSerializer.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ struct RemarkSerializer {

RemarkSerializer(Format SerializerFormat, raw_ostream &OS,
SerializerMode Mode)
: SerializerFormat(SerializerFormat), OS(OS), Mode(Mode), StrTab() {}
: SerializerFormat(SerializerFormat), OS(OS), Mode(Mode) {}

/// This is just an interface.
virtual ~RemarkSerializer() = default;
Expand Down
4 changes: 2 additions & 2 deletions llvm/include/llvm/Support/ScopedPrinter.h
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,7 @@ struct DelimitedScope {
};

struct DictScope : DelimitedScope {
explicit DictScope() : DelimitedScope() {}
explicit DictScope() {}
explicit DictScope(ScopedPrinter &W) : DelimitedScope(W) { W.objectBegin(); }

DictScope(ScopedPrinter &W, StringRef N) : DelimitedScope(W) {
Expand All @@ -818,7 +818,7 @@ struct DictScope : DelimitedScope {
};

struct ListScope : DelimitedScope {
explicit ListScope() : DelimitedScope() {}
explicit ListScope() {}
explicit ListScope(ScopedPrinter &W) : DelimitedScope(W) { W.arrayBegin(); }

ListScope(ScopedPrinter &W, StringRef N) : DelimitedScope(W) {
Expand Down
2 changes: 1 addition & 1 deletion llvm/include/llvm/Transforms/IPO/Attributor.h
Original file line number Diff line number Diff line change
Expand Up @@ -2365,7 +2365,7 @@ struct BooleanState : public IntegerStateBase<bool, true, false> {
using super = IntegerStateBase<bool, true, false>;
using base_t = IntegerStateBase::base_t;

BooleanState() : super() {}
BooleanState() {}
BooleanState(base_t Assumed) : super(Assumed) {}

/// Set the assumed value to \p Value but never below the known one.
Expand Down
3 changes: 1 addition & 2 deletions llvm/include/llvm/Transforms/Scalar/LoopPassManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -435,8 +435,7 @@ class FunctionToLoopPassAdaptor
bool UseBlockFrequencyInfo = false,
bool UseBranchProbabilityInfo = false,
bool LoopNestMode = false)
: Pass(std::move(Pass)), LoopCanonicalizationFPM(),
UseMemorySSA(UseMemorySSA),
: Pass(std::move(Pass)), UseMemorySSA(UseMemorySSA),
UseBlockFrequencyInfo(UseBlockFrequencyInfo),
UseBranchProbabilityInfo(UseBranchProbabilityInfo),
LoopNestMode(LoopNestMode) {
Expand Down
2 changes: 1 addition & 1 deletion llvm/include/llvm/XRay/BlockIndexer.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class BlockIndexer : public RecordVisitor {
Block CurrentBlock{0, 0, nullptr, {}};

public:
explicit BlockIndexer(Index &I) : RecordVisitor(), Indices(I) {}
explicit BlockIndexer(Index &I) : Indices(I) {}

Error visit(BufferExtents &) override;
Error visit(WallclockRecord &) override;
Expand Down
3 changes: 1 addition & 2 deletions llvm/include/llvm/XRay/BlockPrinter.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ class BlockPrinter : public RecordVisitor {
State CurrentState = State::Start;

public:
explicit BlockPrinter(raw_ostream &O, RecordPrinter &P)
: RecordVisitor(), OS(O), RP(P) {}
explicit BlockPrinter(raw_ostream &O, RecordPrinter &P) : OS(O), RP(P) {}

Error visit(BufferExtents &) override;
Error visit(WallclockRecord &) override;
Expand Down
5 changes: 2 additions & 3 deletions llvm/include/llvm/XRay/FDRRecordConsumer.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class LogBuilderConsumer : public RecordConsumer {

public:
explicit LogBuilderConsumer(std::vector<std::unique_ptr<Record>> &R)
: RecordConsumer(), Records(R) {}
: Records(R) {}

Error consume(std::unique_ptr<Record> R) override;
};
Expand All @@ -42,8 +42,7 @@ class PipelineConsumer : public RecordConsumer {
std::vector<RecordVisitor *> Visitors;

public:
PipelineConsumer(std::initializer_list<RecordVisitor *> V)
: RecordConsumer(), Visitors(V) {}
PipelineConsumer(std::initializer_list<RecordVisitor *> V) : Visitors(V) {}

Error consume(std::unique_ptr<Record> R) override;
};
Expand Down
2 changes: 1 addition & 1 deletion llvm/include/llvm/XRay/FDRRecords.h
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ class RecordInitializer : public RecordVisitor {
static constexpr uint16_t DefaultVersion = 5u;

explicit RecordInitializer(DataExtractor &DE, uint64_t &OP, uint16_t V)
: RecordVisitor(), E(DE), OffsetPtr(OP), Version(V) {}
: E(DE), OffsetPtr(OP), Version(V) {}

explicit RecordInitializer(DataExtractor &DE, uint64_t &OP)
: RecordInitializer(DE, OP, DefaultVersion) {}
Expand Down
2 changes: 1 addition & 1 deletion llvm/include/llvm/XRay/FDRTraceExpander.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class TraceExpander : public RecordVisitor {

public:
explicit TraceExpander(function_ref<void(const XRayRecord &)> F, uint16_t L)
: RecordVisitor(), C(std::move(F)), LogVersion(L) {}
: C(std::move(F)), LogVersion(L) {}

Error visit(BufferExtents &) override;
Error visit(WallclockRecord &) override;
Expand Down
2 changes: 1 addition & 1 deletion llvm/include/llvm/XRay/RecordPrinter.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class RecordPrinter : public RecordVisitor {

public:
explicit RecordPrinter(raw_ostream &O, std::string D)
: RecordVisitor(), OS(O), Delim(std::move(D)) {}
: OS(O), Delim(std::move(D)) {}

explicit RecordPrinter(raw_ostream &O) : RecordPrinter(O, ""){};

Expand Down
2 changes: 1 addition & 1 deletion llvm/lib/Bitcode/Reader/MetadataLoader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1675,7 +1675,7 @@ Error MetadataLoader::MetadataLoaderImpl::parseOneMetadata(
SPFlags = DISubprogram::toSPFlags(
/*IsLocalToUnit=*/Record[7], /*IsDefinition=*/Record[8],
/*IsOptimized=*/Record[14], /*Virtuality=*/Record[11],
/*DIFlagMainSubprogram=*/HasOldMainSubprogramFlag);
/*IsMainSubprogram=*/HasOldMainSubprogramFlag);

// All definitions should be distinct.
IsDistinct = (Record[0] & 1) || (SPFlags & DISubprogram::SPFlagDefinition);
Expand Down
4 changes: 2 additions & 2 deletions llvm/lib/DWARFLinker/DWARFLinkerDeclContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ DeclContextTree::getChildDeclContext(DeclContext &Context, const DWARFDie &DIE,
!(*ContextIter)->setLastSeenDIE(U, DIE)) {
// The context was found, but it is ambiguous with another context
// in the same file. Mark it invalid.
return PointerIntPair<DeclContext *, 1>(*ContextIter, /* Invalid= */ 1);
return PointerIntPair<DeclContext *, 1>(*ContextIter, /* IntVal= */ 1);
}

assert(ContextIter != Contexts.end());
Expand All @@ -183,7 +183,7 @@ DeclContextTree::getChildDeclContext(DeclContext &Context, const DWARFDie &DIE,
Context.getTag() != dwarf::DW_TAG_structure_type &&
Context.getTag() != dwarf::DW_TAG_class_type) ||
(Tag == dwarf::DW_TAG_union_type))
return PointerIntPair<DeclContext *, 1>(*ContextIter, /* Invalid= */ 1);
return PointerIntPair<DeclContext *, 1>(*ContextIter, /* IntVal= */ 1);

return PointerIntPair<DeclContext *, 1>(*ContextIter);
}
Expand Down
2 changes: 1 addition & 1 deletion llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2268,7 +2268,7 @@ static int32_t computeHeuristicUnrollFactor(CanonicalLoopInfo *CLI) {
gatherPeelingPreferences(L, SE, TTI,
/*UserAllowPeeling=*/false,
/*UserAllowProfileBasedPeeling=*/false,
/*UserUnrollingSpecficValues=*/false);
/*UnrollingSpecficValues=*/false);

SmallPtrSet<const Value *, 32> EphValues;
CodeMetrics::collectEphemeralValues(L, &AC, EphValues);
Expand Down
4 changes: 2 additions & 2 deletions llvm/lib/MC/MCStreamer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1348,8 +1348,8 @@ void MCStreamer::emitVersionForTarget(
DarwinTargetVariantTriple->isMacOSX()) {
emitVersionForTarget(*DarwinTargetVariantTriple,
DarwinTargetVariantSDKVersion,
/*TargetVariantTriple=*/nullptr,
/*TargetVariantSDKVersion=*/VersionTuple());
/*DarwinTargetVariantTriple=*/nullptr,
/*DarwinTargetVariantSDKVersion=*/VersionTuple());
emitDarwinTargetVariantBuildVersion(
getMachoBuildVersionPlatformType(Target),
LinkedTargetVersion.getMajor(),
Expand Down
2 changes: 1 addition & 1 deletion llvm/lib/Support/ARMAttributeParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const ARMAttributeParser::DisplayHandler ARMAttributeParser::displayRoutines[] =

Error ARMAttributeParser::stringAttribute(AttrType tag) {
StringRef tagName =
ELFAttrs::attrTypeAsString(tag, tagToStringMap, /*TagPrefix=*/false);
ELFAttrs::attrTypeAsString(tag, tagToStringMap, /*hasTagPrefix=*/false);
StringRef desc = de.getCStrRef(cursor);

if (sw) {
Expand Down
4 changes: 2 additions & 2 deletions llvm/lib/Target/Hexagon/MCTargetDesc/HexagonShuffler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,8 @@ static bool checkHVXPipes(const HVXInstsT &hvxInsts, unsigned startIdx,
HexagonShuffler::HexagonShuffler(MCContext &Context, bool ReportErrors,
MCInstrInfo const &MCII,
MCSubtargetInfo const &STI)
: Context(Context), BundleFlags(), MCII(MCII), STI(STI), Loc(),
ReportErrors(ReportErrors), CheckFailure(), AppliedRestrictions() {
: Context(Context), BundleFlags(), MCII(MCII), STI(STI),
ReportErrors(ReportErrors), CheckFailure() {
reset();
}

Expand Down
7 changes: 4 additions & 3 deletions llvm/lib/Target/RISCV/RISCVISelLowering.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8623,7 +8623,7 @@ static SDValue unpackFromMemLoc(SelectionDAG &DAG, SDValue Chain,
ValVT = LocVT;
}
int FI = MFI.CreateFixedObject(ValVT.getStoreSize(), VA.getLocMemOffset(),
/*Immutable=*/true);
/*IsImmutable=*/true);
SDValue FIN = DAG.getFrameIndex(FI, PtrVT);
SDValue Val;

Expand Down Expand Up @@ -8653,7 +8653,8 @@ static SDValue unpackF64OnRV32DSoftABI(SelectionDAG &DAG, SDValue Chain,

if (VA.isMemLoc()) {
// f64 is passed on the stack.
int FI = MFI.CreateFixedObject(8, VA.getLocMemOffset(), /*Immutable=*/true);
int FI =
MFI.CreateFixedObject(8, VA.getLocMemOffset(), /*IsImmutable=*/true);
SDValue FIN = DAG.getFrameIndex(FI, MVT::i32);
return DAG.getLoad(MVT::f64, DL, Chain, FIN,
MachinePointerInfo::getFixedStack(MF, FI));
Expand All @@ -8667,7 +8668,7 @@ static SDValue unpackF64OnRV32DSoftABI(SelectionDAG &DAG, SDValue Chain,
SDValue Hi;
if (VA.getLocReg() == RISCV::X17) {
// Second half of f64 is passed on the stack.
int FI = MFI.CreateFixedObject(4, 0, /*Immutable=*/true);
int FI = MFI.CreateFixedObject(4, 0, /*IsImmutable=*/true);
SDValue FIN = DAG.getFrameIndex(FI, MVT::i32);
Hi = DAG.getLoad(MVT::i32, DL, Chain, FIN,
MachinePointerInfo::getFixedStack(MF, FI));
Expand Down
2 changes: 1 addition & 1 deletion llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1201,7 +1201,7 @@ Constant *DataFlowSanitizer::getOrBuildTrampolineFunction(FunctionType *FT,
// F is called by a wrapped custom function with primitive shadows. So
// its arguments and return value need conversion.
DFSanFunction DFSF(*this, F, /*IsNativeABI=*/true,
/*ForceZeroLabels=*/false);
/*IsForceZeroLabels=*/false);
Function::arg_iterator ValAI = F->arg_begin(), ShadowAI = AI;
++ValAI;
for (unsigned N = FT->getNumParams(); N != 0; ++ValAI, ++ShadowAI, --N) {
Expand Down
2 changes: 1 addition & 1 deletion llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9233,7 +9233,7 @@ class HorizontalReduction {
auto *SclCondTy = CmpInst::makeCmpResultType(ScalarTy);
auto *VecCondTy = cast<VectorType>(CmpInst::makeCmpResultType(VectorTy));
VectorCost = TTI->getMinMaxReductionCost(VectorTy, VecCondTy,
/*unsigned=*/false, CostKind);
/*IsUnsigned=*/false, CostKind);
CmpInst::Predicate RdxPred = getMinMaxReductionPredicate(RdxKind);
ScalarCost = TTI->getCmpSelInstrCost(Instruction::FCmp, ScalarTy,
SclCondTy, RdxPred, CostKind) +
Expand Down
2 changes: 1 addition & 1 deletion llvm/tools/dsymutil/BinaryHolder.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ class BinaryHolder {
std::string Filename;
TimestampTy Timestamp;

KeyTy() : Filename(), Timestamp() {}
KeyTy() {}
KeyTy(StringRef Filename, TimestampTy Timestamp)
: Filename(Filename.str()), Timestamp(Timestamp) {}
};
Expand Down
2 changes: 1 addition & 1 deletion llvm/tools/dsymutil/Reproducer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Reproducer::Reproducer() : VFS(vfs::getRealFileSystem()) {}
Reproducer::~Reproducer() = default;

ReproducerGenerate::ReproducerGenerate(std::error_code &EC)
: Root(createReproducerDir(EC)), FC() {
: Root(createReproducerDir(EC)) {
if (!Root.empty())
FC = std::make_shared<FileCollector>(Root, Root);
VFS = FileCollector::createCollectorVFS(vfs::getRealFileSystem(), FC);
Expand Down
2 changes: 1 addition & 1 deletion llvm/tools/llvm-cov/CodeCoverage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ void CodeCoverageTool::addCollectedPath(const std::string &Path) {
error(EC.message(), Path);
return;
}
sys::path::remove_dots(EffectivePath, /*remove_dot_dots=*/true);
sys::path::remove_dots(EffectivePath, /*remove_dot_dot=*/true);
if (!IgnoreFilenameFilters.matchesFilename(EffectivePath))
SourceFiles.emplace_back(EffectivePath.str());
HadSourceFiles = !SourceFiles.empty();
Expand Down
2 changes: 1 addition & 1 deletion llvm/tools/llvm-cov/CoverageReport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ void CoverageReport::render(const FileCoverageSummary &File,
determineCoveragePercentageColor(File.InstantiationCoverage);
auto LineCoverageColor = determineCoveragePercentageColor(File.LineCoverage);
SmallString<256> FileName = File.Name;
sys::path::remove_dots(FileName, /*remove_dot_dots=*/true);
sys::path::remove_dots(FileName, /*remove_dot_dot=*/true);
sys::path::native(FileName);
OS << column(FileName, FileReportColumns[0], Column::NoTrim);

Expand Down
7 changes: 2 additions & 5 deletions llvm/tools/llvm-cov/CoverageSummaryInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,7 @@ struct FunctionCoverageSummary {
BranchCoverageInfo BranchCoverage;

FunctionCoverageSummary(const std::string &Name)
: Name(Name), ExecutionCount(0), RegionCoverage(), LineCoverage(),
BranchCoverage() {}
: Name(Name), ExecutionCount(0) {}

FunctionCoverageSummary(const std::string &Name, uint64_t ExecutionCount,
const RegionCoverageInfo &RegionCoverage,
Expand Down Expand Up @@ -223,9 +222,7 @@ struct FileCoverageSummary {
FunctionCoverageInfo FunctionCoverage;
FunctionCoverageInfo InstantiationCoverage;

FileCoverageSummary(StringRef Name)
: Name(Name), RegionCoverage(), LineCoverage(), FunctionCoverage(),
InstantiationCoverage() {}
FileCoverageSummary(StringRef Name) : Name(Name) {}

FileCoverageSummary &operator+=(const FileCoverageSummary &RHS) {
RegionCoverage += RHS.RegionCoverage;
Expand Down
4 changes: 2 additions & 2 deletions llvm/tools/llvm-cov/SourceCoverageView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ std::string CoveragePrinter::getOutputPath(StringRef Path, StringRef Extension,
sys::path::append(FullPath, getCoverageDir());

SmallString<256> ParentPath = sys::path::parent_path(Path);
sys::path::remove_dots(ParentPath, /*remove_dot_dots=*/true);
sys::path::remove_dots(ParentPath, /*remove_dot_dot=*/true);
sys::path::append(FullPath, sys::path::relative_path(ParentPath));

auto PathFilename = (sys::path::filename(Path) + "." + Extension).str();
Expand Down Expand Up @@ -157,7 +157,7 @@ SourceCoverageView::create(StringRef SourceName, const MemoryBuffer &File,

std::string SourceCoverageView::getSourceName() const {
SmallString<128> SourceText(SourceName);
sys::path::remove_dots(SourceText, /*remove_dot_dots=*/true);
sys::path::remove_dots(SourceText, /*remove_dot_dot=*/true);
sys::path::native(SourceText);
return std::string(SourceText.str());
}
Expand Down
2 changes: 1 addition & 1 deletion llvm/tools/llvm-cov/SourceCoverageViewHTML.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ std::string
CoveragePrinterHTML::buildLinkToFile(StringRef SF,
const FileCoverageSummary &FCS) const {
SmallString<128> LinkTextStr(sys::path::relative_path(FCS.Name));
sys::path::remove_dots(LinkTextStr, /*remove_dot_dots=*/true);
sys::path::remove_dots(LinkTextStr, /*remove_dot_dot=*/true);
sys::path::native(LinkTextStr);
std::string LinkText = escape(LinkTextStr, Opts);
std::string LinkTarget =
Expand Down
2 changes: 1 addition & 1 deletion llvm/tools/llvm-mca/CodeRegion.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class CodeRegion {

public:
CodeRegion(llvm::StringRef Desc, llvm::SMLoc Start)
: Description(Desc), RangeStart(Start), RangeEnd() {}
: Description(Desc), RangeStart(Start) {}

void addInstruction(const llvm::MCInst &Instruction) {
Instructions.emplace_back(Instruction);
Expand Down
2 changes: 1 addition & 1 deletion llvm/tools/llvm-mca/PipelinePrinter.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class PipelinePrinter {
public:
PipelinePrinter(Pipeline &Pipe, const CodeRegion &R, unsigned Idx,
const MCSubtargetInfo &STI, const PipelineOptions &PO)
: P(Pipe), Region(R), RegionIdx(Idx), STI(STI), PO(PO), Views() {}
: P(Pipe), Region(R), RegionIdx(Idx), STI(STI), PO(PO) {}

void addView(std::unique_ptr<View> V) {
P.addEventListener(V.get());
Expand Down
6 changes: 2 additions & 4 deletions llvm/tools/llvm-objcopy/ELF/Object.h
Original file line number Diff line number Diff line change
Expand Up @@ -934,8 +934,7 @@ class BinaryELFBuilder : public BasicELFBuilder {

public:
BinaryELFBuilder(MemoryBuffer *MB, uint8_t NewSymbolVisibility)
: BasicELFBuilder(), MemBuf(MB),
NewSymbolVisibility(NewSymbolVisibility) {}
: MemBuf(MB), NewSymbolVisibility(NewSymbolVisibility) {}

Expected<std::unique_ptr<Object>> build();
};
Expand All @@ -946,8 +945,7 @@ class IHexELFBuilder : public BasicELFBuilder {
void addDataSections();

public:
IHexELFBuilder(const std::vector<IHexRecord> &Records)
: BasicELFBuilder(), Records(Records) {}
IHexELFBuilder(const std::vector<IHexRecord> &Records) : Records(Records) {}

Expected<std::unique_ptr<Object>> build();
};
Expand Down
2 changes: 1 addition & 1 deletion llvm/tools/llvm-objdump/SourcePrinter.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class LiveVariablePrinter {

public:
LiveVariablePrinter(const MCRegisterInfo &MRI, const MCSubtargetInfo &STI)
: LiveVariables(), ActiveCols(Column()), MRI(MRI), STI(STI) {}
: ActiveCols(Column()), MRI(MRI), STI(STI) {}

void dump() const;

Expand Down
2 changes: 1 addition & 1 deletion llvm/tools/llvm-objdump/llvm-objdump.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2715,7 +2715,7 @@ int main(int argc, char **argv) {
return 0;
}
if (InputArgs.hasArg(HelpHiddenFlag)) {
T->printHelp(ToolName, /*show_hidden=*/true);
T->printHelp(ToolName, /*ShowHidden=*/true);
return 0;
}

Expand Down
7 changes: 3 additions & 4 deletions llvm/tools/llvm-profdata/llvm-profdata.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,8 @@ struct WriterContext {

WriterContext(bool IsSparse, std::mutex &ErrLock,
SmallSet<instrprof_error, 4> &WriterErrorCodes)
: Lock(), Writer(IsSparse), Errors(), ErrLock(ErrLock),
WriterErrorCodes(WriterErrorCodes) {}
: Writer(IsSparse), ErrLock(ErrLock), WriterErrorCodes(WriterErrorCodes) {
}
};

/// Computer the overlap b/w profile BaseFilename and TestFileName,
Expand Down Expand Up @@ -2303,8 +2303,7 @@ struct HotFuncInfo {
uint64_t EntryCount;

HotFuncInfo()
: FuncName(), TotalCount(0), TotalCountPercent(0.0f), MaxCount(0),
EntryCount(0) {}
: TotalCount(0), TotalCountPercent(0.0f), MaxCount(0), EntryCount(0) {}

HotFuncInfo(StringRef FN, uint64_t TS, double TSP, uint64_t MS, uint64_t ES)
: FuncName(FN.begin(), FN.end()), TotalCount(TS), TotalCountPercent(TSP),
Expand Down
4 changes: 2 additions & 2 deletions llvm/tools/llvm-readobj/llvm-readobj.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,8 @@ static void parseOptions(const opt::InputArgList &Args) {
namespace {
struct ReadObjTypeTableBuilder {
ReadObjTypeTableBuilder()
: Allocator(), IDTable(Allocator), TypeTable(Allocator),
GlobalIDTable(Allocator), GlobalTypeTable(Allocator) {}
: IDTable(Allocator), TypeTable(Allocator), GlobalIDTable(Allocator),
GlobalTypeTable(Allocator) {}

llvm::BumpPtrAllocator Allocator;
llvm::codeview::MergingTypeTableBuilder IDTable;
Expand Down
4 changes: 2 additions & 2 deletions llvm/tools/llvm-reduce/ReducerWorkItem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ static std::unique_ptr<MachineFunction> cloneMF(MachineFunction *SrcMF) {
}
}

DstMF->verify(nullptr, "", /*AbortOnErrors=*/true);
DstMF->verify(nullptr, "", /*AbortOnError=*/true);
return DstMF;
}

Expand Down Expand Up @@ -159,7 +159,7 @@ cloneReducerWorkItem(const ReducerWorkItem &MMM) {
bool verifyReducerWorkItem(const ReducerWorkItem &MMM, raw_fd_ostream *OS) {
if (verifyModule(*MMM.M, OS))
return true;
if (MMM.MF && !MMM.MF->verify(nullptr, "", /*AbortOnErrors=*/false))
if (MMM.MF && !MMM.MF->verify(nullptr, "", /*AbortOnError=*/false))
return true;
return false;
}
Expand Down
2 changes: 1 addition & 1 deletion llvm/tools/obj2yaml/dwarf2yaml.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Error dumpDebugAddr(DWARFContext &DCtx, DWARFYAML::Data &Y) {
DWARFDebugAddrTable AddrTable;
DWARFDataExtractor AddrData(DCtx.getDWARFObj(),
DCtx.getDWARFObj().getAddrSection(),
DCtx.isLittleEndian(), /*AddrSize=*/0);
DCtx.isLittleEndian(), /*AddressSize=*/0);
std::vector<DWARFYAML::AddrTableEntry> AddrTables;
uint64_t Offset = 0;
while (AddrData.isValidOffset(Offset)) {
Expand Down
4 changes: 1 addition & 3 deletions llvm/utils/TableGen/GlobalISel/GIMatchDag.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,7 @@ class GIMatchDag {
bool HasPostMatchPredicate = false;

public:
GIMatchDag(GIMatchDagContext &Ctx)
: Ctx(Ctx), InstrNodes(), PredicateNodes(), Edges(),
PredicateDependencies() {}
GIMatchDag(GIMatchDagContext &Ctx) : Ctx(Ctx) {}
GIMatchDag(const GIMatchDag &) = delete;

GIMatchDagContext &getContext() const { return Ctx; }
Expand Down
1 change: 0 additions & 1 deletion llvm/utils/TableGen/GlobalISel/GIMatchTree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ GIMatchTreeBuilderLeafInfo::GIMatchTreeBuilderLeafInfo(
GIMatchTreeBuilder &Builder, StringRef Name, unsigned RootIdx,
const GIMatchDag &MatchDag, void *Data)
: Builder(Builder), Info(Name, RootIdx, Data), MatchDag(MatchDag),
InstrNodeToInfo(),
RemainingInstrNodes(BitVector(MatchDag.getNumInstrNodes(), true)),
RemainingEdges(BitVector(MatchDag.getNumEdges(), true)),
RemainingPredicates(BitVector(MatchDag.getNumPredicates(), true)),
Expand Down
4 changes: 1 addition & 3 deletions llvm/utils/TableGen/GlobalISelEmitter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -883,9 +883,7 @@ class RuleMatcher : public Matcher {

public:
RuleMatcher(ArrayRef<SMLoc> SrcLoc)
: Matchers(), Actions(), InsnVariableIDs(), MutatableInsns(),
DefinedOperands(), NextInsnVarID(0), NextOutputInsnID(0),
NextTempRegID(0), SrcLoc(SrcLoc), ComplexSubOperands(),
: NextInsnVarID(0), NextOutputInsnID(0), NextTempRegID(0), SrcLoc(SrcLoc),
RuleID(NextRuleID++) {}
RuleMatcher(RuleMatcher &&Other) = default;
RuleMatcher &operator=(RuleMatcher &&Other) = default;
Expand Down
4 changes: 2 additions & 2 deletions llvm/utils/TableGen/InstrInfoEmitter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -863,13 +863,13 @@ void InstrInfoEmitter::run(raw_ostream &OS) {

OS << "#ifdef GET_INSTRINFO_HELPER_DECLS\n";
OS << "#undef GET_INSTRINFO_HELPER_DECLS\n\n";
emitTIIHelperMethods(OS, TargetName, /* ExpandDefintion = */false);
emitTIIHelperMethods(OS, TargetName, /* ExpandDefinition = */ false);
OS << "\n";
OS << "#endif // GET_INSTRINFO_HELPER_DECLS\n\n";

OS << "#ifdef GET_INSTRINFO_HELPERS\n";
OS << "#undef GET_INSTRINFO_HELPERS\n\n";
emitTIIHelperMethods(OS, TargetName, /* ExpandDefintion = */true);
emitTIIHelperMethods(OS, TargetName, /* ExpandDefinition = */ true);
OS << "#endif // GET_INSTRINFO_HELPERS\n\n";

OS << "#ifdef GET_INSTRINFO_CTOR_DTOR\n";
Expand Down
2 changes: 1 addition & 1 deletion llvm/utils/TableGen/PredicateExpander.h
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ class STIPredicateExpander : public PredicateExpander {

public:
STIPredicateExpander(StringRef Target)
: PredicateExpander(Target), ClassPrefix(), ExpandDefinition(false) {}
: PredicateExpander(Target), ExpandDefinition(false) {}

bool shouldExpandDefinition() const { return ExpandDefinition; }
StringRef getClassPrefix() const { return ClassPrefix; }
Expand Down
2 changes: 1 addition & 1 deletion llvm/utils/TableGen/RegisterBankEmitter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class RegisterBank {

public:
RegisterBank(const Record &TheDef)
: TheDef(TheDef), RCs(), RCWithLargestRegsSize(nullptr) {}
: TheDef(TheDef), RCWithLargestRegsSize(nullptr) {}

/// Get the human-readable name for the bank.
StringRef getName() const { return TheDef.getValueAsString("Name"); }
Expand Down
22 changes: 4 additions & 18 deletions llvm/utils/TableGen/X86ModRMFilters.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,7 @@ class ModFilter : public ModRMFilter {
/// otherwise. The name r derives from the fact that the mod
/// bits indicate whether the R/M bits [bits 2-0] signify a
/// register or a memory operand.
ModFilter(bool r) :
ModRMFilter(),
R(r) {
}
ModFilter(bool r) : R(r) {}

bool accepts(uint8_t modRM) const override {
return (R == ((modRM & 0xc0) == 0xc0));
Expand All @@ -95,11 +92,7 @@ class ExtendedFilter : public ModRMFilter {
/// \param r True if the mod field must be set to 11; false otherwise.
/// The name is explained at ModFilter.
/// \param nnn The required value of the nnn field.
ExtendedFilter(bool r, uint8_t nnn) :
ModRMFilter(),
R(r),
NNN(nnn) {
}
ExtendedFilter(bool r, uint8_t nnn) : R(r), NNN(nnn) {}

bool accepts(uint8_t modRM) const override {
return (((R && ((modRM & 0xc0) == 0xc0)) ||
Expand All @@ -120,11 +113,7 @@ class ExtendedRMFilter : public ModRMFilter {
/// \param r True if the mod field must be set to 11; false otherwise.
/// The name is explained at ModFilter.
/// \param nnn The required value of the nnn field.
ExtendedRMFilter(bool r, uint8_t nnn) :
ModRMFilter(),
R(r),
NNN(nnn) {
}
ExtendedRMFilter(bool r, uint8_t nnn) : R(r), NNN(nnn) {}

bool accepts(uint8_t modRM) const override {
return ((R && ((modRM & 0xc0) == 0xc0)) &&
Expand All @@ -140,10 +129,7 @@ class ExactFilter : public ModRMFilter {
/// Constructor
///
/// \param modRM The required value of the full ModR/M byte.
ExactFilter(uint8_t modRM) :
ModRMFilter(),
ModRM(modRM) {
}
ExactFilter(uint8_t modRM) : ModRM(modRM) {}

bool accepts(uint8_t modRM) const override {
return (ModRM == modRM);
Expand Down
1 change: 0 additions & 1 deletion mlir/include/mlir/Dialect/SCF/Transforms.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ namespace scf {
class IfOp;
class ForOp;
class ParallelOp;
class ForOp;

/// Fuses all adjacent scf.parallel operations with identical bounds and step
/// into one scf.parallel operations. Uses a naive aliasing and dependency
Expand Down