Skip to content
  1. Jan 24, 2022
    • Chuanqi Xu's avatar
      [C++20] [Module] fix bug 47716 and implement [module.interface]/p6 · 3a3af2bb
      Chuanqi Xu authored
      This fixes bug 47716.
      
      According to [module.interface]p2, it is meaningless to export an entity
      which is not in namespace scope.
      The reason why the compiler crashes is that the compiler missed
      ExportDecl when the compiler traverse the subclass of DeclContext. So
      here is the crash.
      
      Also, the patch implements [module.interface]p6 in
      Sema::CheckRedeclaration* functions.
      
      Reviewed By: aaron.ballman, urnathan
      
      Differential Revision: https://reviews.llvm.org/D112903
      3a3af2bb
    • David Blaikie's avatar
      DebugInfo: Include template parameters for simplified template decls in type units · 2e58a189
      David Blaikie authored
      LLVM DebugInfo CodeGen synthesizes type declarations in type units when
      referencing types that are not in type units. When those synthesized
      types are templates and simplified template names (or mangled simplified
      template names) are in use, the template arguments must be attached to
      those declarations.
      
      A deeper fix (with a CU or DICompositeType flag) that would also support
      other uses of clang's -debug-forward-template-args (such as Sony's
      platform) could/should be implemented to fix this more broadly.
      2e58a189
  2. Jan 23, 2022
Loading