[clang] Macro func (PR #65909)

Zahira Ammarguellat via cfe-commits cfe-commits at lists.llvm.org
Sun Sep 10 12:56:15 PDT 2023


https://github.com/zahiraam created https://github.com/llvm/llvm-project/pull/65909:

None

>From d0e74f731cc728cbe8e701eda5ca9553862a4b9c Mon Sep 17 00:00:00 2001
From: Zahira Ammarguellat <Zahira.Ammarguellat at intel.com>
Date: Sun, 10 Sep 2023 15:54:41 -0400
Subject: [PATCH 1/2] Testing.

---
 clang/lib/AST/Expr.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/clang/lib/AST/Expr.cpp b/clang/lib/AST/Expr.cpp
index 4f3837371b3fc5e..852fe4008d536f8 100644
--- a/clang/lib/AST/Expr.cpp
+++ b/clang/lib/AST/Expr.cpp
@@ -701,6 +701,7 @@ PredefinedExpr *PredefinedExpr::CreateEmpty(const ASTContext &Ctx,
 }
 
 StringRef PredefinedExpr::getIdentKindName(PredefinedExpr::IdentKind IK) {
+  printf("Testing\n");
   switch (IK) {
   case Func:
     return "__func__";

>From 36c4628a65474d148ef55e50c940e30c21526270 Mon Sep 17 00:00:00 2001
From: Zahira Ammarguellat <Zahira.Ammarguellat at intel.com>
Date: Sun, 10 Sep 2023 15:55:31 -0400
Subject: [PATCH 2/2] Testing again.

---
 clang/lib/AST/Expr.cpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/clang/lib/AST/Expr.cpp b/clang/lib/AST/Expr.cpp
index 852fe4008d536f8..4f3837371b3fc5e 100644
--- a/clang/lib/AST/Expr.cpp
+++ b/clang/lib/AST/Expr.cpp
@@ -701,7 +701,6 @@ PredefinedExpr *PredefinedExpr::CreateEmpty(const ASTContext &Ctx,
 }
 
 StringRef PredefinedExpr::getIdentKindName(PredefinedExpr::IdentKind IK) {
-  printf("Testing\n");
   switch (IK) {
   case Func:
     return "__func__";



More information about the cfe-commits mailing list