[clang] Complex div (PR #68106)

Zahira Ammarguellat via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 3 06:59:59 PDT 2023


https://github.com/zahiraam updated https://github.com/llvm/llvm-project/pull/68106

>From 2e06d07abe22526188c71c6e00ca9037620c9259 Mon Sep 17 00:00:00 2001
From: Ammarguellat <zahira.ammarguellat at intel.com>
Date: Tue, 3 Oct 2023 05:43:48 -0700
Subject: [PATCH 1/5] Testing.

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

diff --git a/clang/lib/AST/Expr.cpp b/clang/lib/AST/Expr.cpp
index 4f3837371b3fc5e..0d955c028f11454 100644
--- a/clang/lib/AST/Expr.cpp
+++ b/clang/lib/AST/Expr.cpp
@@ -726,7 +726,7 @@ StringRef PredefinedExpr::getIdentKindName(PredefinedExpr::IdentKind IK) {
 // expr" policy instead.
 std::string PredefinedExpr::ComputeName(IdentKind IK, const Decl *CurrentDecl) {
   ASTContext &Context = CurrentDecl->getASTContext();
-
+  // This is a just a test.
   if (IK == PredefinedExpr::FuncDName) {
     if (const NamedDecl *ND = dyn_cast<NamedDecl>(CurrentDecl)) {
       std::unique_ptr<MangleContext> MC;

>From 2ffed4e994fd19b8f1929f15fce549a4e2f0d60c Mon Sep 17 00:00:00 2001
From: Ammarguellat <zahira.ammarguellat at intel.com>
Date: Tue, 3 Oct 2023 05:45:00 -0700
Subject: [PATCH 2/5] Testing again.

---
 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 0d955c028f11454..ba2592d1e0d8d24 100644
--- a/clang/lib/AST/Expr.cpp
+++ b/clang/lib/AST/Expr.cpp
@@ -727,6 +727,7 @@ StringRef PredefinedExpr::getIdentKindName(PredefinedExpr::IdentKind IK) {
 std::string PredefinedExpr::ComputeName(IdentKind IK, const Decl *CurrentDecl) {
   ASTContext &Context = CurrentDecl->getASTContext();
   // This is a just a test.
+  // This is just yet another test.
   if (IK == PredefinedExpr::FuncDName) {
     if (const NamedDecl *ND = dyn_cast<NamedDecl>(CurrentDecl)) {
       std::unique_ptr<MangleContext> MC;

>From 2c964ac67089bbf5b18f07bc7600a4f042a28e15 Mon Sep 17 00:00:00 2001
From: Ammarguellat <zahira.ammarguellat at intel.com>
Date: Tue, 3 Oct 2023 06:57:34 -0700
Subject: [PATCH 3/5] Testing.

---
 clang/test/Sema/t1.c | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 clang/test/Sema/t1.c

diff --git a/clang/test/Sema/t1.c b/clang/test/Sema/t1.c
new file mode 100644
index 000000000000000..876c72e57126c15
--- /dev/null
+++ b/clang/test/Sema/t1.c
@@ -0,0 +1 @@
+This is test file.

>From 819becc8b8f0a778c868e2ef85889dadf81f311f Mon Sep 17 00:00:00 2001
From: Zahira Ammarguellat <zahira.ammarguellat at intel.com>
Date: Tue, 3 Oct 2023 09:58:26 -0400
Subject: [PATCH 4/5] Delete clang/test/Sema/t1.c

---
 clang/test/Sema/t1.c | 1 -
 1 file changed, 1 deletion(-)
 delete mode 100644 clang/test/Sema/t1.c

diff --git a/clang/test/Sema/t1.c b/clang/test/Sema/t1.c
deleted file mode 100644
index 876c72e57126c15..000000000000000
--- a/clang/test/Sema/t1.c
+++ /dev/null
@@ -1 +0,0 @@
-This is test file.

>From f60fff7e5f1dc7c60bdb1bf6f53c2de9fda3bc10 Mon Sep 17 00:00:00 2001
From: Ammarguellat <zahira.ammarguellat at intel.com>
Date: Tue, 3 Oct 2023 06:59:09 -0700
Subject: [PATCH 5/5] Testing againg.

---
 clang/test/Sema/t2.c | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 clang/test/Sema/t2.c

diff --git a/clang/test/Sema/t2.c b/clang/test/Sema/t2.c
new file mode 100644
index 000000000000000..ffaccc943353266
--- /dev/null
+++ b/clang/test/Sema/t2.c
@@ -0,0 +1 @@
+This is another test.



More information about the cfe-commits mailing list