forked from llvm/llvm-project
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merged main:02cbae4fe068 into amd-gfx:5118390a1fcc
Local branch amd-gfx 5118390 Merged main:202dda8e5c3f into amd-gfx:6034dce6d758 Remote branch main 02cbae4 [RISCV] Work on subreg for insert_vector_elt when vlen is known (llvm#72666) (llvm#73680)
- Loading branch information
Showing
87 changed files
with
1,653 additions
and
1,981 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,14 @@ | ||
// RUN: %clang_cc1 -fsyntax-only -verify %s | ||
|
||
struct S; // expected-note 2 {{forward declaration of 'S'}} | ||
struct S; // expected-note 6 {{forward declaration of 'S'}} | ||
|
||
void f() { | ||
__is_pod(S); // expected-error{{incomplete type 'S' used in type trait expression}} | ||
__is_pod(S[]); // expected-error{{incomplete type 'S' used in type trait expression}} | ||
|
||
__is_trivially_copyable(S); // expected-error{{incomplete type 'S' used in type trait expression}} | ||
__is_trivially_copyable(S[]); // expected-error{{incomplete type 'S' used in type trait expression}} | ||
|
||
__is_trivially_relocatable(S); // expected-error{{incomplete type 'S' used in type trait expression}} | ||
__is_trivially_relocatable(S[]); // expected-error{{incomplete type 'S' used in type trait expression}} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s | ||
// RUN: %clang_cc1 -fsyntax-only -verify -std=c++20 %s | ||
|
||
// expected-no-diagnostics | ||
|
||
static_assert(!__is_pod(void), ""); | ||
static_assert(!__is_pod(int&), ""); | ||
static_assert(!__is_pod(int()), ""); | ||
|
||
static_assert(!__is_trivially_copyable(void), ""); | ||
static_assert(!__is_trivially_copyable(int&), ""); | ||
static_assert(!__is_trivially_copyable(int()), ""); | ||
|
||
static_assert(!__is_trivially_relocatable(void), ""); | ||
static_assert(!__is_trivially_relocatable(int&), ""); | ||
static_assert(!__is_trivially_relocatable(int()), ""); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.