Lines Matching refs:AT
1215 // Ensure that we have at least one argument to do type inference from.
1463 // have at least that many.
1998 if (const ArrayType *AT = S.Context.getAsArrayType(T)) {
1999 isConstant = AT->getElementType().isConstant(S.Context);
2187 // automatically vet at compile time. Requiring that format strings
2600 /// required, one will be at Loc and a new SourceLocation will be created for
2689 bool checkForCStrMembers(const analyze_printf::ArgType &AT,
2738 const analyze_printf::ArgType &AT = Amt.getArgType(S.Context);
2739 assert(AT.isValid());
2741 if (!AT.matchesType(S.Context, T)) {
2743 << k << AT.getRepresentativeTypeName(S.Context)
2831 // filter, at this point.
2842 // better diagnostic if so. AT is assumed to be valid.
2845 const analyze_printf::ArgType &AT, const Expr *E,
2856 AT.matchesType(S.Context, Method->getResultType())) {
2906 // makes no sense. Worth issuing a warning at some point.
3032 const analyze_printf::ArgType &AT = FS.getArgType(S.Context,
3034 if (!AT.isValid())
3042 if (AT.matchesType(S.Context, ExprTy))
3061 if (AT.matchesType(S.Context, ExprTy))
3139 << AT.getRepresentativeTypeName(S.Context) << IntendedTy
3161 if (!AT.matchesType(S.Context, IntendedTy))
3201 << AT.getRepresentativeTypeName(S.Context) << ExprTy
3218 << AT.getRepresentativeTypeName(S.Context) << ExprTy
3230 << AT.getRepresentativeTypeName(S.Context)
3234 checkForCStrMembers(AT, E, CSR);
3244 << AT.getRepresentativeTypeName(S.Context)
3253 << AT.getRepresentativeTypeName(S.Context)
3357 // makes no sense. Worth issuing a warning at some point.
3395 const analyze_format_string::ArgType &AT = FS.getArgType(S.Context);
3396 if (AT.isValid() && !AT.matchesType(S.Context, Ex->getType())) {
3409 << AT.getRepresentativeTypeName(S.Context) << Ex->getType()
3420 << AT.getRepresentativeTypeName(S.Context) << Ex->getType()
3911 // problematic expression but we will warn at the return statement pointing
3912 // at the reference variable. We will later display the "trail" of
3961 /// At the base case of the recursion is a check for the above problematic
4142 // When we hit a DeclRefExpr we are looking at code that refers to a
5661 /// expression. At the end of this process, the side-effects of the evaluation
6092 while (const ArrayType *AT = Context.getAsArrayType(PType)) {
6093 if (AT->getSizeModifier() == ArrayType::Star) {
6099 PType= AT->getElementType();
6318 // Try harder to find a NamedDecl to point at in the note.