-
Notifications
You must be signed in to change notification settings - Fork 10.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Serialization] Don't pack bits for the function scope index of ParmV…
…arDecl Close #76443 Previously we assume the bits of the function scope index of ParmVarDecl won't exceed 8. But this is a misreading. See the implementation of `ParmVarDecl::getParameterIndex()`, which may exceed the size of the normal bitfield. So it may be better to not pack these bits.
- Loading branch information
1 parent
c2c840b
commit 52770d8
Showing
3 changed files
with
33 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// RUN: rm -rf %t | ||
// RUN: mkdir -p %t | ||
// | ||
// RUN: %clang_cc1 -std=c++17 -emit-pch %s -o %t/h.pcm | ||
|
||
//--- header.h | ||
template <int... Nx> int stringData(const char (&...x)[Nx]) { | ||
return 0; | ||
} | ||
int qt_meta_stringdata_CLASSQStyleENDCLASS = stringData( | ||
"", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", | ||
"", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", | ||
"", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", | ||
"", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", | ||
"", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", | ||
"", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", | ||
"", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", | ||
"", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", | ||
"", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", | ||
"", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", | ||
"", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", | ||
"", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", | ||
"", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", | ||
"", "", "", "", "", "", "", "", "", ""); |