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

References

tools/clang/lib/Parse/ParseDecl.cpp
 2483   ParseDeclarationSpecifiers(DS, ParsedTemplateInfo(), AS, DSC);
 2486   unsigned Specs = DS.getParsedSpecifiers();
 2487   if (isTypeSpecifier(DSC) && !DS.hasTypeSpecifier()) {
 2489     DS.SetTypeSpecError();
 2490   } else if (Specs == DeclSpec::PQ_None && !DS.hasAttributes()) {
 2492     if (!DS.hasTypeSpecifier())
 2493       DS.SetTypeSpecError();
 2498     if (DS.getStorageClassSpecLoc().isValid())
 2499       Diag(DS.getStorageClassSpecLoc(),diag::err_typename_invalid_storageclass);
 2501       Diag(DS.getThreadStorageClassSpecLoc(),
 2503     DS.ClearStorageClassSpecs();
 2508     if (DS.isInlineSpecified())
 2509       Diag(DS.getInlineSpecLoc(), diag::err_typename_invalid_functionspec);
 2510     if (DS.isVirtualSpecified())
 2511       Diag(DS.getVirtualSpecLoc(), diag::err_typename_invalid_functionspec);
 2512     if (DS.hasExplicitSpecifier())
 2513       Diag(DS.getExplicitSpecLoc(), diag::err_typename_invalid_functionspec);
 2514     DS.ClearFunctionSpecs();
 2518   if (DS.hasConstexprSpecifier() && DSC != DeclSpecContext::DSC_condition) {
 2519     Diag(DS.getConstexprSpecLoc(), diag::err_typename_invalid_constexpr)
 2520         << DS.getConstexprSpecifier();
 2521     DS.ClearConstexprSpec();