[all-commits] [llvm/llvm-project] 8d8ee1: [clang] resugar decltype of DeclRefExpr

Matheus Izvekov via All-commits all-commits at lists.llvm.org
Fri Mar 21 11:25:45 PDT 2025


  Branch: refs/heads/users/mizvekov/clang/resugar-decltype-declrefexpr
  Home:   https://github.com/llvm/llvm-project
  Commit: 8d8ee15d388e6ecb0e71f3a18f1f90dc28611fff
      https://github.com/llvm/llvm-project/commit/8d8ee15d388e6ecb0e71f3a18f1f90dc28611fff
  Author: Matheus Izvekov <mizvekov at gmail.com>
  Date:   2025-03-21 (Fri, 21 Mar 2025)

  Changed paths:
    M clang/include/clang/AST/Expr.h
    M clang/include/clang/AST/Stmt.h
    M clang/include/clang/Sema/Sema.h
    M clang/lib/AST/ASTImporter.cpp
    M clang/lib/AST/Expr.cpp
    M clang/lib/CodeGen/CGExpr.cpp
    M clang/lib/Sema/SemaChecking.cpp
    M clang/lib/Sema/SemaDeclCXX.cpp
    M clang/lib/Sema/SemaExpr.cpp
    M clang/lib/Sema/SemaOpenMP.cpp
    M clang/lib/Sema/SemaOverload.cpp
    M clang/lib/Sema/SemaSYCL.cpp
    M clang/lib/Sema/SemaTemplate.cpp
    M clang/lib/Sema/SemaType.cpp
    M clang/lib/Sema/TreeTransform.h
    M clang/lib/Serialization/ASTReaderStmt.cpp
    M clang/lib/Serialization/ASTWriterStmt.cpp
    M clang/test/Sema/Resugar/resugar-expr.cpp

  Log Message:
  -----------
  [clang] resugar decltype of DeclRefExpr

This keeps around the resugared DeclType for DeclRefExpr,
which is otherwise partially lost as the expression type
removes top level references.

This helps 'decltype' resugaring work without any loss
of information.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list