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

References

tools/clang/lib/Index/IndexSymbol.cpp
   87   Info.Kind = SymbolKind::Unknown;
   88   Info.SubKind = SymbolSubKind::None;
   89   Info.Properties = SymbolPropertySet();
   90   Info.Lang = SymbolLanguage::C;
   93     Info.Properties |= (SymbolPropertySet)SymbolProperty::Local;
   96     Info.Properties |= (SymbolPropertySet)SymbolProperty::ProtocolInterface;
  100     Info.Properties |= (SymbolPropertySet)SymbolProperty::Generic;
  101     Info.Lang = SymbolLanguage::CXX;
  109       Info.Kind = SymbolKind::Struct; break;
  111       Info.Kind = SymbolKind::Union; break;
  113       Info.Kind = SymbolKind::Class;
  114       Info.Lang = SymbolLanguage::CXX;
  117       Info.Kind = SymbolKind::Protocol;
  118       Info.Lang = SymbolLanguage::CXX;
  121       Info.Kind = SymbolKind::Enum; break;
  126         Info.Lang = SymbolLanguage::CXX;
  128           Info.Properties |= (SymbolPropertySet)SymbolProperty::Generic;
  134       Info.Properties |= (SymbolPropertySet)SymbolProperty::Generic;
  135       Info.Properties |=
  138       Info.Properties |= (SymbolPropertySet)SymbolProperty::Generic;
  139       Info.Properties |=
  144     Info.Kind = SymbolKind::Variable;
  146       Info.Kind = SymbolKind::Parameter;
  148       Info.Kind = SymbolKind::StaticProperty;
  149       Info.Lang = SymbolLanguage::CXX;
  153       Info.Lang = SymbolLanguage::CXX;
  154       Info.Properties |= (SymbolPropertySet)SymbolProperty::Generic;
  155       Info.Properties |=
  158       Info.Lang = SymbolLanguage::CXX;
  159       Info.Properties |= (SymbolPropertySet)SymbolProperty::Generic;
  160       Info.Properties |=
  163       Info.Lang = SymbolLanguage::CXX;
  164       Info.Properties |= (SymbolPropertySet)SymbolProperty::Generic;
  170       Info.Kind = SymbolKind::Module;
  173       Info.Kind = SymbolKind::TypeAlias; break; // Lang = C
  175       Info.Kind = SymbolKind::Function;
  179       Info.Kind = SymbolKind::Field;
  183           Info.Lang = SymbolLanguage::CXX;
  187       Info.Kind = SymbolKind::EnumConstant; break;
  190       Info.Kind = SymbolKind::Class;
  191       Info.Lang = SymbolLanguage::ObjC;
  196         Info.Properties |= (SymbolPropertySet)SymbolProperty::UnitTest;
  200       Info.Kind = SymbolKind::Protocol;
  201       Info.Lang = SymbolLanguage::ObjC;
  205       Info.Kind = SymbolKind::Extension;
  206       Info.Lang = SymbolLanguage::ObjC;
  213         Info.Properties |= (SymbolPropertySet)SymbolProperty::UnitTest;
  218       Info.Kind = MD->isInstanceMethod() ? SymbolKind::InstanceMethod : SymbolKind::ClassMethod;
  221           Info.SubKind = SymbolSubKind::AccessorSetter;
  223           Info.SubKind = SymbolSubKind::AccessorGetter;
  225       Info.Lang = SymbolLanguage::ObjC;
  227         Info.Properties |= (SymbolPropertySet)SymbolProperty::UnitTest;
  229         Info.Properties |= (SymbolPropertySet)SymbolProperty::IBAnnotated;
  233       Info.Kind = SymbolKind::InstanceProperty;
  234       Info.Lang = SymbolLanguage::ObjC;
  235       checkForIBOutlets(D, Info.Properties);
  238           Info.Properties |= (SymbolPropertySet)SymbolProperty::GKInspectable;
  242       Info.Kind = SymbolKind::Field;
  243       Info.Lang = SymbolLanguage::ObjC;
  244       checkForIBOutlets(D, Info.Properties);
  247       Info.Kind = SymbolKind::Namespace;
  248       Info.Lang = SymbolLanguage::CXX;
  251       Info.Kind = SymbolKind::NamespaceAlias;
  252       Info.Lang = SymbolLanguage::CXX;
  255       Info.Kind = SymbolKind::Constructor;
  256       Info.Lang = SymbolLanguage::CXX;
  259         Info.SubKind = SymbolSubKind::CXXCopyConstructor;
  261         Info.SubKind = SymbolSubKind::CXXMoveConstructor;
  265       Info.Kind = SymbolKind::Destructor;
  266       Info.Lang = SymbolLanguage::CXX;
  269       Info.Kind = SymbolKind::ConversionFunction;
  270       Info.Lang = SymbolLanguage::CXX;
  275         Info.Kind = SymbolKind::StaticMethod;
  277         Info.Kind = SymbolKind::InstanceMethod;
  278       Info.Lang = SymbolLanguage::CXX;
  282       Info.Kind = SymbolKind::Class;
  283       Info.Properties |= (SymbolPropertySet)SymbolProperty::Generic;
  284       Info.Lang = SymbolLanguage::CXX;
  287       Info.Kind = SymbolKind::Function;
  288       Info.Properties |= (SymbolPropertySet)SymbolProperty::Generic;
  289       Info.Lang = SymbolLanguage::CXX;
  293           Info.Kind = SymbolKind::Constructor;
  295           Info.Kind = SymbolKind::Destructor;
  297           Info.Kind = SymbolKind::ConversionFunction;
  300             Info.Kind = SymbolKind::StaticMethod;
  302             Info.Kind = SymbolKind::InstanceMethod;
  307       Info.Kind = SymbolKind::TypeAlias;
  308       Info.Lang = SymbolLanguage::CXX;
  309       Info.Properties |= (SymbolPropertySet)SymbolProperty::Generic;
  312       Info.Kind = SymbolKind::TypeAlias;
  313       Info.Lang = SymbolLanguage::CXX;
  316       Info.Kind = SymbolKind::Using;
  317       Info.SubKind = SymbolSubKind::UsingTypename;
  318       Info.Lang = SymbolLanguage::CXX;
  319       Info.Properties |= (SymbolPropertySet)SymbolProperty::Generic;
  322       Info.Kind = SymbolKind::Using;
  323       Info.SubKind = SymbolSubKind::UsingValue;
  324       Info.Lang = SymbolLanguage::CXX;
  325       Info.Properties |= (SymbolPropertySet)SymbolProperty::Generic;
  328       Info.Kind = SymbolKind::Using;
  329       Info.Lang = SymbolLanguage::CXX;
  332       Info.Kind = SymbolKind::Variable;
  333       Info.Lang = SymbolLanguage::CXX;
  336       Info.Kind = SymbolKind::InstanceProperty;
  340           Info.Lang = SymbolLanguage::CXX;
  365   if (Info.Kind == SymbolKind::Unknown)
  366     return Info;
  371       Info.Properties |= (SymbolPropertySet)SymbolProperty::Generic;
  372       Info.Properties |=
  377   if (Info.Properties & (SymbolPropertySet)SymbolProperty::Generic)
  378     Info.Lang = SymbolLanguage::CXX;
  382       Info.Lang = SymbolLanguage::Swift;
  385   return Info;