diff options
Diffstat (limited to 'include/clang/Parse/Template.h')
-rw-r--r-- | include/clang/Parse/Template.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/Parse/Template.h b/include/clang/Parse/Template.h index 1f8ccfbf05c6..84f4ed96b4c3 100644 --- a/include/clang/Parse/Template.h +++ b/include/clang/Parse/Template.h @@ -58,7 +58,7 @@ namespace clang { Loc(TemplateLoc), SS(SS) { } /// \brief Determine whether the given template argument is invalid. - bool isInvalid() { return Arg == 0; } + bool isInvalid() const { return Arg == 0; } /// \brief Determine what kind of template argument we have. KindType getKind() const { return Kind; } |