mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-22 23:24:59 +00:00
Fixed/added namespace ending comments using clang-tidy. NFC
The patch is generated using this command: tools/clang/tools/extra/clang-tidy/tool/run-clang-tidy.py -fix \ -checks=-*,llvm-namespace-comment -header-filter='llvm/.*|clang/.*' \ llvm/lib/ Thanks to Eugene Kosov for the original patch! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240137 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -203,6 +203,6 @@ ModulePass *createBarrierNoopPass();
|
||||
/// to bitsets.
|
||||
ModulePass *createLowerBitSetsPass();
|
||||
|
||||
} // End llvm namespace
|
||||
} // namespace llvm
|
||||
|
||||
#endif
|
||||
|
@@ -86,6 +86,6 @@ private:
|
||||
bool shouldInline(CallSite CS);
|
||||
};
|
||||
|
||||
} // End llvm namespace
|
||||
} // namespace llvm
|
||||
|
||||
#endif
|
||||
|
@@ -41,6 +41,6 @@ public:
|
||||
PreservedAnalyses run(Function &F, AnalysisManager<Function> *AM);
|
||||
};
|
||||
|
||||
}
|
||||
} // namespace llvm
|
||||
|
||||
#endif
|
||||
|
@@ -136,6 +136,6 @@ FunctionPass *createBoundsCheckingPass();
|
||||
/// protect against stack-based overflow vulnerabilities.
|
||||
FunctionPass *createSafeStackPass();
|
||||
|
||||
} // End llvm namespace
|
||||
} // namespace llvm
|
||||
|
||||
#endif
|
||||
|
@@ -43,6 +43,6 @@ Pass *createObjCARCContractPass();
|
||||
//
|
||||
Pass *createObjCARCOptPass();
|
||||
|
||||
} // End llvm namespace
|
||||
} // namespace llvm
|
||||
|
||||
#endif
|
||||
|
@@ -486,6 +486,6 @@ FunctionPass *createNaryReassociatePass();
|
||||
//
|
||||
FunctionPass *createLoopDistributePass();
|
||||
|
||||
} // End llvm namespace
|
||||
} // namespace llvm
|
||||
|
||||
#endif
|
||||
|
@@ -34,6 +34,6 @@ public:
|
||||
PreservedAnalyses run(Function &F, AnalysisManager<Function> *AM);
|
||||
};
|
||||
|
||||
}
|
||||
} // namespace llvm
|
||||
|
||||
#endif
|
||||
|
@@ -35,6 +35,6 @@ public:
|
||||
PreservedAnalyses run(Function &F);
|
||||
};
|
||||
|
||||
}
|
||||
} // namespace llvm
|
||||
|
||||
#endif
|
||||
|
@@ -41,6 +41,6 @@ public:
|
||||
PreservedAnalyses run(Function &F, AnalysisManager<Function> *AM);
|
||||
};
|
||||
|
||||
}
|
||||
} // namespace llvm
|
||||
|
||||
#endif
|
||||
|
@@ -59,6 +59,6 @@ void ComputeASanStackFrameLayout(
|
||||
// The result is put here.
|
||||
ASanStackFrameLayout *Layout);
|
||||
|
||||
} // llvm namespace
|
||||
} // namespace llvm
|
||||
|
||||
#endif // LLVM_TRANSFORMS_UTILS_ASANSTACKFRAMELAYOUT_H
|
||||
|
@@ -308,6 +308,6 @@ void SplitBlockAndInsertIfThenElse(Value *Cond, Instruction *SplitBefore,
|
||||
/// entered if the condition is false.
|
||||
Value *GetIfCondition(BasicBlock *BB, BasicBlock *&IfTrue,
|
||||
BasicBlock *&IfFalse);
|
||||
} // End llvm namespace
|
||||
} // namespace llvm
|
||||
|
||||
#endif
|
||||
|
@@ -111,6 +111,6 @@ namespace llvm {
|
||||
/// a pointer, Size is an 'intptr_t', and File is a pointer to FILE.
|
||||
Value *EmitFWrite(Value *Ptr, Value *Size, Value *File, IRBuilder<> &B,
|
||||
const DataLayout &DL, const TargetLibraryInfo *TLI);
|
||||
}
|
||||
} // namespace llvm
|
||||
|
||||
#endif
|
||||
|
@@ -233,6 +233,6 @@ bool InlineFunction(InvokeInst *II, InlineFunctionInfo &IFI,
|
||||
bool InlineFunction(CallSite CS, InlineFunctionInfo &IFI,
|
||||
bool InsertLifetime = true);
|
||||
|
||||
} // End llvm namespace
|
||||
} // namespace llvm
|
||||
|
||||
#endif
|
||||
|
@@ -121,6 +121,6 @@ namespace llvm {
|
||||
ValueSet &inputs,
|
||||
ValueSet &outputs);
|
||||
};
|
||||
}
|
||||
} // namespace llvm
|
||||
|
||||
#endif
|
||||
|
@@ -27,6 +27,6 @@ class Module;
|
||||
bool optimizeGlobalCtorsList(Module &M,
|
||||
function_ref<bool(Function *)> ShouldRemove);
|
||||
|
||||
} // End llvm namespace
|
||||
} // namespace llvm
|
||||
|
||||
#endif
|
||||
|
@@ -77,6 +77,6 @@ struct GlobalStatus {
|
||||
|
||||
GlobalStatus();
|
||||
};
|
||||
}
|
||||
} // namespace llvm
|
||||
|
||||
#endif
|
||||
|
@@ -68,6 +68,6 @@ namespace llvm {
|
||||
/// @brief Replace Rem with generated code.
|
||||
bool expandDivisionUpTo64Bits(BinaryOperator *Div);
|
||||
|
||||
} // End llvm namespace
|
||||
} // namespace llvm
|
||||
|
||||
#endif
|
||||
|
@@ -291,6 +291,6 @@ void combineMetadata(Instruction *K, const Instruction *J, ArrayRef<unsigned> Kn
|
||||
/// the given edge. Returns the number of replacements made.
|
||||
unsigned replaceDominatedUsesWith(Value *From, Value *To, DominatorTree &DT,
|
||||
const BasicBlockEdge &Edge);
|
||||
} // End llvm namespace
|
||||
} // namespace llvm
|
||||
|
||||
#endif
|
||||
|
@@ -263,6 +263,6 @@ void computeLICMSafetyInfo(LICMSafetyInfo *, Loop *);
|
||||
/// variable. Returns true if this is an induction PHI along with the step
|
||||
/// value.
|
||||
bool isInductionPHI(PHINode *, ScalarEvolution *, ConstantInt *&);
|
||||
}
|
||||
} // namespace llvm
|
||||
|
||||
#endif
|
||||
|
@@ -57,6 +57,6 @@ Function *checkSanitizerInterfaceFunction(Constant *FuncOrBitcast);
|
||||
std::pair<Function *, Function *> createSanitizerCtorAndInitFunctions(
|
||||
Module &M, StringRef CtorName, StringRef InitName,
|
||||
ArrayRef<Type *> InitArgTypes, ArrayRef<Value *> InitArgs);
|
||||
} // End llvm namespace
|
||||
} // namespace llvm
|
||||
|
||||
#endif // LLVM_TRANSFORMS_UTILS_MODULEUTILS_H
|
||||
|
@@ -45,6 +45,6 @@ void PromoteMemToReg(ArrayRef<AllocaInst *> Allocas, DominatorTree &DT,
|
||||
AliasSetTracker *AST = nullptr,
|
||||
AssumptionCache *AC = nullptr);
|
||||
|
||||
} // End llvm namespace
|
||||
} // namespace llvm
|
||||
|
||||
#endif
|
||||
|
@@ -173,6 +173,6 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
} // End llvm namespace
|
||||
} // namespace llvm
|
||||
|
||||
#endif
|
||||
|
@@ -455,6 +455,6 @@ public:
|
||||
|
||||
#undef DEBUG_TYPE // "ssaupdater"
|
||||
|
||||
} // End llvm namespace
|
||||
} // namespace llvm
|
||||
|
||||
#endif
|
||||
|
@@ -166,6 +166,6 @@ private:
|
||||
/// function by checking for an existing function with name FuncName + f
|
||||
bool hasFloatVersion(StringRef FuncName);
|
||||
};
|
||||
} // End llvm namespace
|
||||
} // namespace llvm
|
||||
|
||||
#endif
|
||||
|
@@ -108,7 +108,7 @@ private:
|
||||
yaml::MappingNode *V,
|
||||
RewriteDescriptorList *DL);
|
||||
};
|
||||
}
|
||||
} // namespace SymbolRewriter
|
||||
|
||||
template <>
|
||||
struct ilist_traits<SymbolRewriter::RewriteDescriptor>
|
||||
@@ -147,6 +147,6 @@ public:
|
||||
|
||||
ModulePass *createRewriteSymbolsPass();
|
||||
ModulePass *createRewriteSymbolsPass(SymbolRewriter::RewriteDescriptorList &);
|
||||
}
|
||||
} // namespace llvm
|
||||
|
||||
#endif
|
||||
|
@@ -47,6 +47,6 @@ public:
|
||||
|
||||
Pass *createUnifyFunctionExitNodesPass();
|
||||
|
||||
} // End llvm namespace
|
||||
} // namespace llvm
|
||||
|
||||
#endif
|
||||
|
@@ -37,6 +37,6 @@ bool UnrollRuntimeLoopProlog(Loop *L, unsigned Count,
|
||||
LPPassManager *LPM);
|
||||
|
||||
MDNode *GetUnrollMetadata(MDNode *LoopID, StringRef Name);
|
||||
}
|
||||
} // namespace llvm
|
||||
|
||||
#endif
|
||||
|
@@ -96,6 +96,6 @@ namespace llvm {
|
||||
Materializer));
|
||||
}
|
||||
|
||||
} // End llvm namespace
|
||||
} // namespace llvm
|
||||
|
||||
#endif
|
||||
|
@@ -200,6 +200,6 @@ getIntrinsicIDForCall(CallInst *CI, const TargetLibraryInfo *TLI) {
|
||||
return Intrinsic::not_intrinsic;
|
||||
}
|
||||
|
||||
} // llvm namespace
|
||||
} // namespace llvm
|
||||
|
||||
#endif
|
||||
|
@@ -139,6 +139,6 @@ Pass *createSLPVectorizerPass();
|
||||
bool vectorizeBasicBlock(Pass *P, BasicBlock &BB,
|
||||
const VectorizeConfig &C = VectorizeConfig());
|
||||
|
||||
} // End llvm namespace
|
||||
} // namespace llvm
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user