Update docstrings following the param name change in r200132

llvm-svn: 200137
This commit is contained in:
Alp Toker 2014-01-26 06:41:58 +00:00
parent d51906e5b3
commit 9e6d27d037
2 changed files with 5 additions and 5 deletions

View File

@ -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,

View File

@ -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);
}