[all-commits] [llvm/llvm-project] 7a7c50: Use linear search instead of std::lower_bound
Krzysztof Parzyszek via All-commits
all-commits at lists.llvm.org
Fri Jun 6 07:19:59 PDT 2025
Branch: refs/heads/users/kparzysz/spr/t08-versioned-spellings
Home: https://github.com/llvm/llvm-project
Commit: 7a7c502b45f1370fe4d5beb8312746564e2554e0
https://github.com/llvm/llvm-project/commit/7a7c502b45f1370fe4d5beb8312746564e2554e0
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2025-06-06 (Fri, 06 Jun 2025)
Changed paths:
M llvm/lib/Frontend/Directive/Spelling.cpp
Log Message:
-----------
Use linear search instead of std::lower_bound
Commit: 1640711eee7ff8fb179a8b79a2534f733c6764d2
https://github.com/llvm/llvm-project/commit/1640711eee7ff8fb179a8b79a2534f733c6764d2
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2025-06-06 (Fri, 06 Jun 2025)
Changed paths:
M llvm/include/llvm/Frontend/Directive/DirectiveBase.td
M llvm/include/llvm/Frontend/Directive/Spelling.h
Log Message:
-----------
Set the minimum possible version to 0 instead of 1
The default value of the Version parameter in get<Lang><Enum>Name()
was 0, which was not in the range [1, 0x7fffffff]. To fix this, it
was either to change the default value to 1, or to lower the minimum
version to 0. The latter seemed like a better choice, since 0 is a
natural choice for a lower bound on version numbers.
Commit: c0f76d2351daaeda6627a2044108d7a097470a79
https://github.com/llvm/llvm-project/commit/c0f76d2351daaeda6627a2044108d7a097470a79
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2025-06-06 (Fri, 06 Jun 2025)
Changed paths:
M llvm/test/TableGen/directive1.td
Log Message:
-----------
Fix testcase
Commit: 9d978ca0617c7af5731c47c59180f8d896f22fb5
https://github.com/llvm/llvm-project/commit/9d978ca0617c7af5731c47c59180f8d896f22fb5
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2025-06-06 (Fri, 06 Jun 2025)
Changed paths:
M llvm/utils/TableGen/Basic/DirectiveEmitter.cpp
Log Message:
-----------
Use BaseRecord instead of Clause for getSpellings()
Commit: 2e1bd7f7b7948e00f217e09664f5fe9e4792e0ac
https://github.com/llvm/llvm-project/commit/2e1bd7f7b7948e00f217e09664f5fe9e4792e0ac
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2025-06-06 (Fri, 06 Jun 2025)
Changed paths:
M llvm/include/llvm/Frontend/Directive/Spelling.h
M llvm/include/llvm/TableGen/DirectiveEmitter.h
M llvm/lib/Frontend/Directive/Spelling.cpp
M llvm/test/TableGen/directive1.td
M llvm/utils/TableGen/Basic/DirectiveEmitter.cpp
Log Message:
-----------
Address review comments
Compare: https://github.com/llvm/llvm-project/compare/3298791d9bae...2e1bd7f7b794
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list