[clang] [llvm] [DebugInfo] Place local ODR-uniqued types in decl DISubprograms (PR #119001)

Adrian Prantl via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 6 14:47:29 PST 2024


================
@@ -486,6 +486,8 @@ class CGDebugInfo {
   void EmitFunctionDecl(GlobalDecl GD, SourceLocation Loc,
                         QualType FnType, llvm::Function *Fn = nullptr);
 
+  llvm::DIScope *PickCompositeTypeScope(llvm::DIScope *S, StringRef Identifier);
----------------
adrian-prantl wrote:

Can you add a doxygen comment that explains the purpose of this function?

https://github.com/llvm/llvm-project/pull/119001


More information about the cfe-commits mailing list