[clang] Complex div (PR #68106)

Zahira Ammarguellat via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 3 06:58:06 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/3] 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/3] 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/3] 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.



More information about the cfe-commits mailing list