aboutsummaryrefslogtreecommitdiff
path: root/include/clang/AST/Comment.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/clang/AST/Comment.h')
-rw-r--r--include/clang/AST/Comment.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/clang/AST/Comment.h b/include/clang/AST/Comment.h
index 55cb08141a..4c20618ca1 100644
--- a/include/clang/AST/Comment.h
+++ b/include/clang/AST/Comment.h
@@ -713,6 +713,7 @@ public:
}
unsigned getParamIndex() const LLVM_READONLY {
+ assert(isParamIndexValid());
return ParamIndex;
}