- Notifications
You must be signed in to change notification settings - Fork14.5k
TableGen: Fixed the string table definitions visibility.#148946
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Merged
+4 −3
Conversation
This file contains hidden or 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 fixes the buildbots issues reported inllvm#148839.
@llvm/pr-subscribers-tablegen Author: Slava Zakharin (vzakhari) ChangesThis fixes the buildbots issues reported in #148839. Full diff:https://github.com/llvm/llvm-project/pull/148946.diff 1 Files Affected:
diff --git a/llvm/lib/TableGen/StringToOffsetTable.cpp b/llvm/lib/TableGen/StringToOffsetTable.cppindex d6d2c2590389a..41f82caa12f82 100644--- a/llvm/lib/TableGen/StringToOffsetTable.cpp+++ b/llvm/lib/TableGen/StringToOffsetTable.cpp@@ -83,10 +83,11 @@ void StringToOffsetTable::EmitStringTableDef(raw_ostream &OS, #pragma GCC diagnostic pop #endif-{1}constexpr llvm::StringTable+{1} llvm::StringTable {2}{0} = {0}Storage; )",- Name, ClassPrefix.empty() ? "static " : "", ClassPrefix);+ Name, ClassPrefix.empty() ? "static constexpr" : "const",+ ClassPrefix); } void StringToOffsetTable::EmitString(raw_ostream &O) const { |
Can you also update the lit test? |
jurahul approved these changesJul 15, 2025
Thanks for fixing the failure. |
e685e4a
intollvm:main 8 of 9 checks passed
Uh oh!
There was an error while loading.Please reload this page.
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This fixes the buildbots issues reported in#148839.