diff options
author | Rahul Joshi <rjoshi@nvidia.com> | 2024-08-29 08:06:45 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-29 08:06:45 -0700 |
commit | 032c3283ab419377a1230a32d98693b528f63134 (patch) | |
tree | 069a5d9a44ea6016cedd8d387ec21a6a21a74a83 /clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp | |
parent | a705e8cb5b071b3bf6d1d55629f18f6b7b9699ac (diff) | |
download | llvm-032c3283ab419377a1230a32d98693b528f63134.zip llvm-032c3283ab419377a1230a32d98693b528f63134.tar.gz llvm-032c3283ab419377a1230a32d98693b528f63134.tar.bz2 |
[NFC][TableGen] Refactor IntrinsicEmitter code (#106479)
- Use formatv() and raw string literals to simplify emission code.
- Use range based for loops and structured bindings to simplify loops.
- Use const Pointers to Records.
- Rename `ComputeFixedEncoding` to `ComputeTypeSignature` to reflect
what the function actually does, cnd change it to return a vector.
- Use reverse() and range based for loop to pack 8 nibbles into 32-bits.
- Rename some variables to follow LLVM coding standards.
- For function memory effects, print human readable effects in comment.
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp')
0 files changed, 0 insertions, 0 deletions