diff options
author | Alp Toker <alp@nuanti.com> | 2014-01-26 08:36:03 +0000 |
---|---|---|
committer | Alp Toker <alp@nuanti.com> | 2014-01-26 08:36:03 +0000 |
commit | 33fc63be61210df4b2a89386b95fde1c26c4fe99 (patch) | |
tree | 01632bb8821dd2bdd146d12e0fbc9ffbeeec1837 /clang-tidy/ClangTidy.h | |
parent | a81090fcf5ed403a580e74cfeb704eade3c2c41d (diff) |
Fix another invalid getCustomDiagID() use to unbreak the build
It was calling the utility wrapper that now requires a constant string
following clang r200132. The StringRef version on DiagnosticIDs appears to have
been what was intended so change to that.
git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@200142 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'clang-tidy/ClangTidy.h')
-rw-r--r-- | clang-tidy/ClangTidy.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tidy/ClangTidy.h b/clang-tidy/ClangTidy.h index f57f8f46..0d70554d 100644 --- a/clang-tidy/ClangTidy.h +++ b/clang-tidy/ClangTidy.h @@ -76,7 +76,7 @@ public: void setContext(ClangTidyContext *Ctx) { Context = Ctx; } /// \brief Add a diagnostic with the check's name. - DiagnosticBuilder diag(SourceLocation Loc, StringRef Message); + DiagnosticBuilder diag(SourceLocation Loc, StringRef Description); /// \brief Sets the check name. Intended to be used by the clang-tidy /// framework. Can be called only once. |