reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
35 Constant *Aliasee = A.getAliasee(); 36 assert(A.hasName() && "Anonymous alias?"); 38 std::string AliasName = A.getName(); 41 auto *F = cloneFunctionDecl(*A.getParent(), *cast<Function>(Aliasee)); 42 A.replaceAllUsesWith(F); 43 A.eraseFromParent(); 46 auto *G = cloneGlobalVariableDecl(*A.getParent(), 48 A.replaceAllUsesWith(G); 49 A.eraseFromParent();