forked from OSchip/llvm-project
Update docstrings following the param name change in r200132
llvm-svn: 200137
This commit is contained in:
parent
d51906e5b3
commit
9e6d27d037
|
@ -593,8 +593,8 @@ public:
|
|||
/// If this is the first request for this diagnostic, it is registered and
|
||||
/// created, otherwise the existing ID is returned.
|
||||
///
|
||||
/// \param Message A fixed diagnostic format string that will be hashed and
|
||||
/// mapped to a unique DiagID.
|
||||
/// \param FormatString A fixed diagnostic format string that will be hashed
|
||||
/// and mapped to a unique DiagID.
|
||||
template <unsigned N>
|
||||
unsigned getCustomDiagID(Level L, const char (&FormatString)[N]) {
|
||||
return Diags->getCustomDiagID((DiagnosticIDs::Level)L,
|
||||
|
|
|
@ -312,12 +312,12 @@ DiagnosticIDs::~DiagnosticIDs() {
|
|||
/// and level. If this is the first request for this diagnostic, it is
|
||||
/// registered and created, otherwise the existing ID is returned.
|
||||
///
|
||||
/// \param Message A fixed diagnostic format string that will be hashed and
|
||||
/// \param FormatString A fixed diagnostic format string that will be hashed and
|
||||
/// mapped to a unique DiagID.
|
||||
unsigned DiagnosticIDs::getCustomDiagID(Level L, StringRef Message) {
|
||||
unsigned DiagnosticIDs::getCustomDiagID(Level L, StringRef FormatString) {
|
||||
if (CustomDiagInfo == 0)
|
||||
CustomDiagInfo = new diag::CustomDiagInfo();
|
||||
return CustomDiagInfo->getOrCreateDiagID(L, Message, *this);
|
||||
return CustomDiagInfo->getOrCreateDiagID(L, FormatString, *this);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue