Skip to content

Commit 25e8df6

Browse files
committed
[FMV][AArch64] Convert user facing priority syntax to internal.
This allows the user to specify "priority=[1-32];featA+featB" where priority=1 means highest priority. If the explicit priority string is omitted then the priority of "featA+featB" is implied, which is lower than priority=32. Depends on llvm#146092.
1 parent c5e6d92 commit 25e8df6

File tree

4 files changed

+253
-144
lines changed

4 files changed

+253
-144
lines changed

clang/include/clang/Sema/Sema.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4911,7 +4911,8 @@ class Sema final : public SemaBase {
49114911
bool checkTargetAttr(SourceLocation LiteralLoc, StringRef Str);
49124912

49134913
/// Check Target Version attrs
4914-
bool checkTargetVersionAttr(SourceLocation Loc, Decl *D, StringRef Str);
4914+
bool checkTargetVersionAttr(SourceLocation Loc, Decl *D, StringRef Str,
4915+
SmallString<64> &);
49154916
bool checkTargetClonesAttrString(
49164917
SourceLocation LiteralLoc, StringRef Str, const StringLiteral *Literal,
49174918
Decl *D, bool &HasDefault, bool &HasCommas, bool &HasNotDefault,

0 commit comments

Comments
 (0)