aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Module.cpp
diff options
context:
space:
mode:
authorMike Rice <michael.p.rice@intel.com>2024-08-06 08:28:56 -0700
committerGitHub <noreply@github.com>2024-08-06 08:28:56 -0700
commit6250313291c9541abe74142be86a9bb7c0d30974 (patch)
tree10a8513c85f8c95a2c66c43627c96896128ea4d7 /llvm/lib/IR/Module.cpp
parent15d4a84e7977725dc0661995963a12ff8605b03c (diff)
downloadllvm-6250313291c9541abe74142be86a9bb7c0d30974.zip
llvm-6250313291c9541abe74142be86a9bb7c0d30974.tar.gz
llvm-6250313291c9541abe74142be86a9bb7c0d30974.tar.bz2
[clang] Fix compile-time regression from attribute arg checking change (#101768)
In 2acf77f987331c05520c5bfd849326909ffce983 code was added to use the 'full' name including syntax and scope. Instead of building up a large string for each name, add syntax and scope checks to the value expression in tablegen. There is already code to generate expressions for target specific attributes. This change refactors and adds to that code to include syntax and scope checks. The tablegen avoids generating the complicated expression unless there are two attributes using the same name, otherwise the case values will be as simple as before. Removes the currently unused attributeHasStrictIdentifierArgAtIndex function and the related tablegen.
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions