reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/include/clang/Sema/TypoCorrection.h
  369     return candidate.getCorrectionDeclAs<C>();
tools/clang/lib/Parse/ParseStmt.cpp
  132     if (FieldDecl *FD = candidate.getCorrectionDeclAs<FieldDecl>())
  135       return candidate.getCorrectionDeclAs<VarDecl>();
  137         candidate.getCorrectionDeclAs<NamespaceDecl>())
tools/clang/lib/Sema/SemaDecl.cpp
 1950       IDecl = C.getCorrectionDeclAs<ObjCInterfaceDecl>();
tools/clang/lib/Sema/SemaDeclCXX.cpp
 4157         if (FieldDecl *Member = Corr.getCorrectionDeclAs<FieldDecl>()) {
 4165         } else if (TypeDecl *Type = Corr.getCorrectionDeclAs<TypeDecl>()) {
tools/clang/lib/Sema/SemaDeclObjC.cpp
  510     ObjCInterfaceDecl *ID = candidate.getCorrectionDeclAs<ObjCInterfaceDecl>();
  563       PrevDecl = Corrected.getCorrectionDeclAs<ObjCInterfaceDecl>();
 1303       if ((PDecl = Corrected.getCorrectionDeclAs<ObjCProtocolDecl>()))
 1352       if (candidate.getCorrectionDeclAs<ObjCProtocolDecl>())
 1359       if (auto typeDecl = candidate.getCorrectionDeclAs<TypeDecl>()) {
 1380       if (candidate.getCorrectionDeclAs<ObjCInterfaceDecl>())
 1687       if (auto proto = corrected.getCorrectionDeclAs<ObjCProtocolDecl>()) {
 1698       if (auto typeDecl = corrected.getCorrectionDeclAs<TypeDecl>()) {
 1709       if (auto objcClass = corrected.getCorrectionDeclAs<ObjCInterfaceDecl>()) {
 1985     if (Corrected.getCorrectionDeclAs<ObjCInterfaceDecl>()) {
tools/clang/lib/Sema/SemaExpr.cpp
 1904   unsigned NoteID = TC.getCorrectionDeclAs<ImplicitParamDecl>()
 2080       unsigned NoteID = Corrected.getCorrectionDeclAs<ImplicitParamDecl>()
tools/clang/lib/Sema/SemaExprMember.cpp
 1357         IV = Corrected.getCorrectionDeclAs<ObjCIvarDecl>();
tools/clang/lib/Sema/SemaExprObjC.cpp
 2113     return candidate.getCorrectionDeclAs<ObjCInterfaceDecl>() ||
 2206                    Corrected.getCorrectionDeclAs<ObjCInterfaceDecl>()) {
tools/clang/lib/Sema/SemaInit.cpp
 2305     FieldDecl *FD = candidate.getCorrectionDeclAs<FieldDecl>();
 2540           KnownField = Corrected.getCorrectionDeclAs<FieldDecl>();
tools/clang/lib/Sema/SemaOpenMP.cpp
 2276       VD = Corrected.getCorrectionDeclAs<VarDecl>();
tools/clang/lib/Sema/SemaTemplate.cpp
 3434     Name = TemplateName(Corrected.getCorrectionDeclAs<TemplateDecl>());