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

References

tools/clang/lib/Sema/SemaStmt.cpp
  520   if (TheDecl->getStmt()) {
  521     Diag(IdentLoc, diag::err_redefinition_of_label) << TheDecl->getDeclName();
  522     Diag(TheDecl->getLocation(), diag::note_previous_definition);
  527   LabelStmt *LS = new (Context) LabelStmt(IdentLoc, TheDecl, SubStmt);
  528   TheDecl->setStmt(LS);
  529   if (!TheDecl->isGnuLocal()) {
  530     TheDecl->setLocStart(IdentLoc);
  531     if (!TheDecl->isMSAsmLabel()) {
  534       TheDecl->setLocation(IdentLoc);