summaryrefslogtreecommitdiffstats
path: root/include/clang/AST/CommentParser.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/clang/AST/CommentParser.h')
-rw-r--r--include/clang/AST/CommentParser.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/clang/AST/CommentParser.h b/include/clang/AST/CommentParser.h
index d6a1072..7e00813 100644
--- a/include/clang/AST/CommentParser.h
+++ b/include/clang/AST/CommentParser.h
@@ -61,10 +61,8 @@ class Parser {
void consumeToken() {
if (MoreLATokens.empty())
L.lex(Tok);
- else {
- Tok = MoreLATokens.back();
- MoreLATokens.pop_back();
- }
+ else
+ Tok = MoreLATokens.pop_back_val();
}
void putBack(const Token &OldTok) {
OpenPOWER on IntegriCloud