forked from OSchip/llvm-project
parent
65d7f72f2c
commit
19520027da
|
@ -604,7 +604,7 @@ public:
|
|||
}
|
||||
|
||||
/// getTypeAnnotation - Read a parsed type out of an annotation token.
|
||||
static ParsedType getTypeAnnotation(Token &Tok) {
|
||||
static ParsedType getTypeAnnotation(const Token &Tok) {
|
||||
return ParsedType::getFromOpaquePtr(Tok.getAnnotationValue());
|
||||
}
|
||||
|
||||
|
@ -615,7 +615,7 @@ private:
|
|||
|
||||
/// \brief Read an already-translated primary expression out of an annotation
|
||||
/// token.
|
||||
static ExprResult getExprAnnotation(Token &Tok) {
|
||||
static ExprResult getExprAnnotation(const Token &Tok) {
|
||||
return ExprResult::getFromOpaquePointer(Tok.getAnnotationValue());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue