[all-commits] [llvm/llvm-project] 404179: [clang] Implement StmtPrinter for EmbedExpr (#135957)

Mariya Podchishchaeva via All-commits all-commits at lists.llvm.org
Thu Apr 17 06:15:28 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 40417915a161e87b398f1cc3e9b7c159207abd77
      https://github.com/llvm/llvm-project/commit/40417915a161e87b398f1cc3e9b7c159207abd77
  Author: Mariya Podchishchaeva <mariya.podchishchaeva at intel.com>
  Date:   2025-04-17 (Thu, 17 Apr 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/AST/Expr.h
    M clang/include/clang/Lex/Preprocessor.h
    M clang/include/clang/Sema/Sema.h
    M clang/lib/AST/StmtPrinter.cpp
    M clang/lib/Lex/PPDirectives.cpp
    M clang/lib/Parse/ParseInit.cpp
    M clang/lib/Sema/SemaExpr.cpp
    M clang/test/Preprocessor/embed_weird.cpp

  Log Message:
  -----------
  [clang] Implement StmtPrinter for EmbedExpr (#135957)

Tries to avoid memory leaks previously caused by saving filename by
allocating memory in the preprocessor.

Fixes https://github.com/llvm/llvm-project/issues/132641
Fixes https://github.com/llvm/llvm-project/issues/107869

---------

Co-authored-by: Aaron Ballman <aaron at aaronballman.com>



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