Lines Matching defs:isAnnotation
56 /// Annotations (resolved type names, C++ scopes, etc): isAnnotation().
120 bool isAnnotation() const {
121 return tok::isAnnotation(getKind());
130 assert(!isAnnotation() && "Annotation tokens have no length field");
136 assert(!isAnnotation() && "Annotation tokens have no length field");
141 assert(isAnnotation() && "Used AnnotEndLocID on non-annotation token");
145 assert(isAnnotation() && "Used AnnotEndLocID on non-annotation token");
150 return isAnnotation() ? getAnnotationEndLoc() : getLocation();
154 return isAnnotation() ? getAnnotationEndLoc()
182 assert(!isAnnotation() &&
227 assert(isAnnotation() && "Used AnnotVal on non-annotation token");
231 assert(isAnnotation() && "Used AnnotVal on non-annotation token");