aboutsummaryrefslogtreecommitdiff
path: root/clang/test/PCH
diff options
context:
space:
mode:
authorMehdi Amini <joker.eph@gmail.com>2023-07-17 12:47:39 -0700
committerMehdi Amini <joker.eph@gmail.com>2023-07-17 18:08:04 -0700
commite0ac46e69d7adbe327148550ffafe746cbc0ec78 (patch)
tree54e195e4f0e0d82498dcc8e37da95ca9954ede08 /clang/test/PCH
parenta5cee3e386bde28ce21ff2ead3fc420f018604ca (diff)
downloadllvm-e0ac46e69d7adbe327148550ffafe746cbc0ec78.zip
llvm-e0ac46e69d7adbe327148550ffafe746cbc0ec78.tar.gz
llvm-e0ac46e69d7adbe327148550ffafe746cbc0ec78.tar.bz2
Revert "Remove rdar links; NFC"
This reverts commit d618f1c3b12effd0c2bdb7d02108d3551f389d3d. This commit wasn't reviewed ahead of time and significant concerns were raised immediately after it landed. According to our developer policy this warrants immediate revert of the commit. https://llvm.org/docs/DeveloperPolicy.html#patch-reversion-policy Differential Revision: https://reviews.llvm.org/D155509
Diffstat (limited to 'clang/test/PCH')
-rw-r--r--clang/test/PCH/__va_list_tag.c1
-rw-r--r--clang/test/PCH/chain-categories2.m2
-rw-r--r--clang/test/PCH/crash-12631281.cpp1
-rw-r--r--clang/test/PCH/cxx-templates.cpp4
-rw-r--r--clang/test/PCH/cxx-templates.h1
-rw-r--r--clang/test/PCH/field-designator.c2
-rw-r--r--clang/test/PCH/format-strings.c2
-rw-r--r--clang/test/PCH/friend-template.cpp1
-rw-r--r--clang/test/PCH/irgen-rdar13114142.mm2
-rw-r--r--clang/test/PCH/macro-redef.c1
-rw-r--r--clang/test/PCH/objc_import.m1
-rw-r--r--clang/test/PCH/pending-ids.m1
-rw-r--r--clang/test/PCH/rdar10830559.cpp2
-rw-r--r--clang/test/PCH/single-token-macro.c2
14 files changed, 18 insertions, 5 deletions
diff --git a/clang/test/PCH/__va_list_tag.c b/clang/test/PCH/__va_list_tag.c
index d63c53f..81cda89 100644
--- a/clang/test/PCH/__va_list_tag.c
+++ b/clang/test/PCH/__va_list_tag.c
@@ -1,5 +1,6 @@
// REQUIRES: x86-registered-target
// PR13189
+// rdar://problem/11741429
// Test this without pch.
// RUN: %clang_cc1 -triple=x86_64-unknown-freebsd7.0 -include %S/Inputs/__va_list_tag.h %s -emit-llvm -o -
diff --git a/clang/test/PCH/chain-categories2.m b/clang/test/PCH/chain-categories2.m
index 42138a7..50eea2a 100644
--- a/clang/test/PCH/chain-categories2.m
+++ b/clang/test/PCH/chain-categories2.m
@@ -1,4 +1,4 @@
-// Test that infinite loop was fixed.
+// Test that infinite loop in rdar://10418538 was fixed.
// Without PCH
// RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class -include %s -include %s %s
diff --git a/clang/test/PCH/crash-12631281.cpp b/clang/test/PCH/crash-12631281.cpp
index cb1ded0..f7bf65e 100644
--- a/clang/test/PCH/crash-12631281.cpp
+++ b/clang/test/PCH/crash-12631281.cpp
@@ -6,6 +6,7 @@
// expected-no-diagnostics
+// rdar://12631281
// This reduced test case exposed a use-after-free memory bug, which was reliable
// reproduced only on guarded malloc (and probably valgrind).
diff --git a/clang/test/PCH/cxx-templates.cpp b/clang/test/PCH/cxx-templates.cpp
index 11ad401..eaedb9b 100644
--- a/clang/test/PCH/cxx-templates.cpp
+++ b/clang/test/PCH/cxx-templates.cpp
@@ -109,7 +109,7 @@ namespace cyclic_module_load {
}
#ifndef NO_ERRORS
-// expected-error@cxx-templates.h:304 {{incomplete}}
+// expected-error@cxx-templates.h:305 {{incomplete}}
template int local_extern::f<int[]>(); // expected-note {{in instantiation of}}
#endif
template int local_extern::g<int[]>();
@@ -146,7 +146,7 @@ namespace ClassScopeExplicitSpecializations {
template int A<3>::f<1>() const;
template int A<4>::f<0>() const; // expected-warning {{has no effect}}
template int A<4>::f<1>() const;
- // expected-note@cxx-templates.h:402 2{{here}}
+ // expected-note@cxx-templates.h:403 2{{here}}
static_assert(A<0>().f<0>() == 4, "");
static_assert(A<0>().f<1>() == 5, "");
diff --git a/clang/test/PCH/cxx-templates.h b/clang/test/PCH/cxx-templates.h
index 95d684e..7819a1e 100644
--- a/clang/test/PCH/cxx-templates.h
+++ b/clang/test/PCH/cxx-templates.h
@@ -206,6 +206,7 @@ namespace NonTypeTemplateParmContext {
inline bool equalIgnoringNullity(const Vector<char, inlineCapacity>& a, const String& b) { return false; }
}
+// <rdar://problem/11112464>
template< typename > class Foo;
template< typename T >
diff --git a/clang/test/PCH/field-designator.c b/clang/test/PCH/field-designator.c
index 7d969f1..f0486ec 100644
--- a/clang/test/PCH/field-designator.c
+++ b/clang/test/PCH/field-designator.c
@@ -2,7 +2,7 @@
// RUN: %clang_cc1 %s -emit-pch -o %t.pch
// RUN: %clang_cc1 %s -include-pch %t.pch
-// Make sure we don't emit a bogus
+// rdar://12239321 Make sure we don't emit a bogus
// error: field designator 'e' does not refer to a non-static data member
#ifndef HEADER
diff --git a/clang/test/PCH/format-strings.c b/clang/test/PCH/format-strings.c
index 3c5ec86..679d1cf 100644
--- a/clang/test/PCH/format-strings.c
+++ b/clang/test/PCH/format-strings.c
@@ -1,6 +1,8 @@
// RUN: %clang_cc1 -D FOOBAR="\"\"" %s -emit-pch -o %t.pch
// RUN: %clang_cc1 -D FOOBAR="\"\"" %s -include-pch %t.pch
+// rdar://11418366
+
#ifndef HEADER
#define HEADER
diff --git a/clang/test/PCH/friend-template.cpp b/clang/test/PCH/friend-template.cpp
index 3a877aa..a608879 100644
--- a/clang/test/PCH/friend-template.cpp
+++ b/clang/test/PCH/friend-template.cpp
@@ -13,6 +13,7 @@
#ifndef HEADER
#define HEADER
+// rdar://12627738
namespace rdar12627738 {
class RecyclerTag {
diff --git a/clang/test/PCH/irgen-rdar13114142.mm b/clang/test/PCH/irgen-rdar13114142.mm
index d368763..4cc985d 100644
--- a/clang/test/PCH/irgen-rdar13114142.mm
+++ b/clang/test/PCH/irgen-rdar13114142.mm
@@ -30,7 +30,7 @@ OOArray operator & (OOString, OOString);
#else
-// We just make sure there is no crash on IRGen
+// We just make sure there is no crash on IRGen (rdar://13114142)
// CHECK: _Z3foov()
void foo() {
OOString str;
diff --git a/clang/test/PCH/macro-redef.c b/clang/test/PCH/macro-redef.c
index 389aaa4..7e25d7f 100644
--- a/clang/test/PCH/macro-redef.c
+++ b/clang/test/PCH/macro-redef.c
@@ -3,6 +3,7 @@
// RUN: %clang_cc1 -fsyntax-only %s -include-pch %t2.pch -verify
// Test that a redefinition inside the PCH won't manifest as an ambiguous macro.
+// rdar://13016031
#ifndef HEADER1
#define HEADER1
diff --git a/clang/test/PCH/objc_import.m b/clang/test/PCH/objc_import.m
index c1a497b..bdba92c 100644
--- a/clang/test/PCH/objc_import.m
+++ b/clang/test/PCH/objc_import.m
@@ -16,6 +16,7 @@ void func(void) {
[xx instMethod];
}
+// rdar://14112291
@class NewID1;
void foo1(NewID1 *p);
void bar1(OldID1 *p) {
diff --git a/clang/test/PCH/pending-ids.m b/clang/test/PCH/pending-ids.m
index 76f8700..cf502da 100644
--- a/clang/test/PCH/pending-ids.m
+++ b/clang/test/PCH/pending-ids.m
@@ -1,4 +1,5 @@
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
+// Test for rdar://10278815
// Without PCH
// RUN: %clang_cc1 -fsyntax-only -verify -include %s %s
diff --git a/clang/test/PCH/rdar10830559.cpp b/clang/test/PCH/rdar10830559.cpp
index 90aba9c..0144f34 100644
--- a/clang/test/PCH/rdar10830559.cpp
+++ b/clang/test/PCH/rdar10830559.cpp
@@ -9,6 +9,8 @@
// RUN: %clang_cc1 -emit-pch -fpch-instantiate-templates -o %t %s
// RUN: %clang_cc1 -include-pch %t -emit-llvm-only %t.empty.cpp
+// rdar://10830559
+
//#pragma ms_struct on
template< typename T >
diff --git a/clang/test/PCH/single-token-macro.c b/clang/test/PCH/single-token-macro.c
index cb01527..aa02f65 100644
--- a/clang/test/PCH/single-token-macro.c
+++ b/clang/test/PCH/single-token-macro.c
@@ -1,3 +1,5 @@
+// rdar://10588825
+
// Test this without pch.
// RUN: %clang_cc1 %s -include %s -verify -fsyntax-only