diff options
| author | Alp Toker <alp@nuanti.com> | 2014-01-26 06:41:58 +0000 |
|---|---|---|
| committer | Alp Toker <alp@nuanti.com> | 2014-01-26 06:41:58 +0000 |
| commit | 9e6d27d037368b97d976402cd7072cc801ba1345 (patch) | |
| tree | db297c7499d74443c55cb67d69e5b87347f13220 | |
| parent | d51906e5b3b976ae0b191d75edea87e13973f6c2 (diff) | |
| download | bcm5719-llvm-9e6d27d037368b97d976402cd7072cc801ba1345.tar.gz bcm5719-llvm-9e6d27d037368b97d976402cd7072cc801ba1345.zip | |
Update docstrings following the param name change in r200132
llvm-svn: 200137
| -rw-r--r-- | clang/include/clang/Basic/Diagnostic.h | 4 | ||||
| -rw-r--r-- | clang/lib/Basic/DiagnosticIDs.cpp | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/clang/include/clang/Basic/Diagnostic.h b/clang/include/clang/Basic/Diagnostic.h index bd5f7b06f46..d5452d74f68 100644 --- a/clang/include/clang/Basic/Diagnostic.h +++ b/clang/include/clang/Basic/Diagnostic.h @@ -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, diff --git a/clang/lib/Basic/DiagnosticIDs.cpp b/clang/lib/Basic/DiagnosticIDs.cpp index f752882e929..c8cd03e0309 100644 --- a/clang/lib/Basic/DiagnosticIDs.cpp +++ b/clang/lib/Basic/DiagnosticIDs.cpp @@ -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); } |

