Lines Matching refs:isAnnotation
120 bool isAnnotation() const { in isAnnotation() function
121 return tok::isAnnotation(getKind()); in isAnnotation()
130 assert(!isAnnotation() && "Annotation tokens have no length field"); in getLength()
136 assert(!isAnnotation() && "Annotation tokens have no length field"); in setLength()
141 assert(isAnnotation() && "Used AnnotEndLocID on non-annotation token"); in getAnnotationEndLoc()
145 assert(isAnnotation() && "Used AnnotEndLocID on non-annotation token"); in setAnnotationEndLoc()
150 return isAnnotation() ? getAnnotationEndLoc() : getLocation(); in getLastLoc()
154 return isAnnotation() ? getAnnotationEndLoc() in getEndLoc()
182 assert(!isAnnotation() && in getIdentifierInfo()
227 assert(isAnnotation() && "Used AnnotVal on non-annotation token"); in getAnnotationValue()
231 assert(isAnnotation() && "Used AnnotVal on non-annotation token"); in setAnnotationValue()