Remove some redundant doc comments

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210118 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Alp Toker 2014-06-03 19:06:49 +00:00
parent 1514ecc83a
commit 89f341af6d

View File

@ -138,7 +138,6 @@ public:
/// \see DiagnosticInfo::print. /// \see DiagnosticInfo::print.
void print(DiagnosticPrinter &DP) const override; void print(DiagnosticPrinter &DP) const override;
/// Hand rolled RTTI.
static bool classof(const DiagnosticInfo *DI) { static bool classof(const DiagnosticInfo *DI) {
return DI->getKind() == DK_InlineAsm; return DI->getKind() == DK_InlineAsm;
} }
@ -166,7 +165,6 @@ public:
/// \see DiagnosticInfo::print. /// \see DiagnosticInfo::print.
void print(DiagnosticPrinter &DP) const override; void print(DiagnosticPrinter &DP) const override;
/// Hand rolled RTTI.
static bool classof(const DiagnosticInfo *DI) { static bool classof(const DiagnosticInfo *DI) {
return DI->getKind() == DK_StackSize; return DI->getKind() == DK_StackSize;
} }
@ -195,7 +193,6 @@ public:
/// \see DiagnosticInfo::print. /// \see DiagnosticInfo::print.
void print(DiagnosticPrinter &DP) const override; void print(DiagnosticPrinter &DP) const override;
/// Hand rolled RTTI.
static bool classof(const DiagnosticInfo *DI) { static bool classof(const DiagnosticInfo *DI) {
return DI->getKind() == DK_DebugMetadataVersion; return DI->getKind() == DK_DebugMetadataVersion;
} }
@ -221,7 +218,6 @@ public:
/// \see DiagnosticInfo::print. /// \see DiagnosticInfo::print.
void print(DiagnosticPrinter &DP) const override; void print(DiagnosticPrinter &DP) const override;
/// Hand rolled RTTI.
static bool classof(const DiagnosticInfo *DI) { static bool classof(const DiagnosticInfo *DI) {
return DI->getKind() == DK_SampleProfile; return DI->getKind() == DK_SampleProfile;
} }
@ -261,7 +257,6 @@ public:
/// \see DiagnosticInfo::print. /// \see DiagnosticInfo::print.
void print(DiagnosticPrinter &DP) const override; void print(DiagnosticPrinter &DP) const override;
/// Hand rolled RTTI.
static bool classof(const DiagnosticInfo *DI) { static bool classof(const DiagnosticInfo *DI) {
return DI->getKind() == DK_OptimizationRemark; return DI->getKind() == DK_OptimizationRemark;
} }
@ -323,7 +318,6 @@ public:
: DiagnosticInfoOptimizationRemarkBase(DK_OptimizationRemark, PassName, : DiagnosticInfoOptimizationRemarkBase(DK_OptimizationRemark, PassName,
Fn, DLoc, Msg) {} Fn, DLoc, Msg) {}
/// Hand rolled RTTI
static bool classof(const DiagnosticInfo *DI) { static bool classof(const DiagnosticInfo *DI) {
return DI->getKind() == DK_OptimizationRemark; return DI->getKind() == DK_OptimizationRemark;
} }
@ -350,7 +344,6 @@ public:
: DiagnosticInfoOptimizationRemarkBase(DK_OptimizationRemarkMissed, : DiagnosticInfoOptimizationRemarkBase(DK_OptimizationRemarkMissed,
PassName, Fn, DLoc, Msg) {} PassName, Fn, DLoc, Msg) {}
/// Hand rolled RTTI
static bool classof(const DiagnosticInfo *DI) { static bool classof(const DiagnosticInfo *DI) {
return DI->getKind() == DK_OptimizationRemarkMissed; return DI->getKind() == DK_OptimizationRemarkMissed;
} }
@ -378,7 +371,6 @@ public:
: DiagnosticInfoOptimizationRemarkBase(DK_OptimizationRemarkAnalysis, : DiagnosticInfoOptimizationRemarkBase(DK_OptimizationRemarkAnalysis,
PassName, Fn, DLoc, Msg) {} PassName, Fn, DLoc, Msg) {}
/// Hand rolled RTTI
static bool classof(const DiagnosticInfo *DI) { static bool classof(const DiagnosticInfo *DI) {
return DI->getKind() == DK_OptimizationRemarkAnalysis; return DI->getKind() == DK_OptimizationRemarkAnalysis;
} }