mirror-llvm-project/clang/lib
Marlus Cadanus da Costa 68b7feaa62
[clang] Follow-up fixes for offsetof unsigned index change (#207808)
- Rename CastNoOverflow to CastAPToOffsetIndex for clarity
- Add parentheses in overflow guard condition in InterpBuiltin.cpp
- Improve comment explaining why 0x8000000000000000 is rejected

AI Tool Use: GitHub Copilot (Claude Sonnet 4.6) was used to assist in
identifying and drafting the fix. The fix was reviewed, tested, and
validated manually.

---------

Co-authored-by: Cadanus da Costa <maccosta@beenox.com>
2026-08-01 04:18:42 +08:00
..
Analysis Thread Safety Analysis: Don't treat function pointer parameters as scoped capabilities (#211885) 2026-07-28 11:53:13 -04:00
APINotes [APINotes] Diagnose invalid Where.Parameters selectors (#209408) 2026-07-29 09:50:35 +01:00
AST [clang] Follow-up fixes for offsetof unsigned index change (#207808) 2026-08-01 04:18:42 +08:00
ASTMatchers [clang][NFC] fold ExpressionTraits and TypeTraits helpers into BuiltinTraits (#210838) 2026-07-28 20:45:00 +10:00
Basic NVPTX: Add target names in TargetParser (#212734) 2026-07-30 20:57:36 +02:00
CIR [CIR][AMDGPU] Add support for AMDGCN tanh builtins (#197852) 2026-07-31 14:57:40 -04:00
CodeGen [clang][llvm][AArch64] Set hardening fn attrs on synthetic functions (#211013) 2026-07-31 18:22:44 +00:00
CrossTU [Clang] Add flags and lang option for C++2d (#203992) 2026-07-03 21:37:02 +00:00
DependencyScanning [clang][DependencyScanning] Relocate CompilerInstanceWithContext to DependencyScanningWorker.cpp (#211407) 2026-07-31 08:54:14 -07:00
DirectoryWatcher [LLVM][ADT] Migrate users of make_scope_exit to CTAD (#174030) 2026-01-02 20:42:56 -08:00
Driver Reland "[HIPSPV] Add in-tree SPIR-V backend support for chipStar" (#213052) 2026-07-31 15:23:48 -04:00
Edit [HLSL][Matrix] Add support for Matrix element and trunc Casts (#168915) 2025-12-02 19:02:25 -05:00
ExtractAPI [clang][ExtractAPI] Fix assertion on invalid UTF-8 in doc comments (#212394) 2026-07-28 16:36:34 +00:00
Format [clang-format] Prevent re-assigning type on finalized tokens (#210763) 2026-07-30 21:28:08 +00:00
Frontend [Clang] Support libstdc++ workarounds when using -E (#210802) 2026-07-30 18:09:08 +02:00
FrontendTool [clang][ssaf] Integrate source-edit-generation (#208590) 2026-07-17 15:22:48 -07:00
Headers [HLSL] Move cross implementation to header files (#211446) 2026-07-29 15:26:05 -07:00
Index [clangd] Respect ArgumentLists for struct templates (#212094) 2026-07-27 03:07:00 +02:00
IndexSerialization
InstallAPI Revert "[clang] Reland: fix getTemplateInstantiationArgs (#208285)" (#208426) 2026-07-09 12:11:45 +00:00
Interpreter [Modules] Handle decl attributes on deserialization the same as during parsing. (#208348) 2026-07-30 10:15:44 -07:00
Lex [Clang] Support libstdc++ workarounds when using -E (#210802) 2026-07-30 18:09:08 +02:00
Options [Clang][HLSL][DebugInfo] Emit dx.source metadata nodes (#199689) 2026-06-15 11:40:32 +00:00
Parse [Modules] Handle decl attributes on deserialization the same as during parsing. (#208348) 2026-07-30 10:15:44 -07:00
Rewrite [analyzer] Fix invalid HTML nesting for popups at end of line (#207793) 2026-07-11 12:48:47 +00:00
ScalableStaticAnalysis [SystemZ][z/OS] Add text flag when parsing json (#211805) 2026-07-24 11:27:10 -04:00
Sema [clang][Sema] Fix ObjC file-scope literal diagnostic (#209688) 2026-07-30 23:01:34 -07:00
Serialization [Modules] Handle decl attributes on deserialization the same as during parsing. (#208348) 2026-07-30 10:15:44 -07:00
StaticAnalyzer [Webkit Checkers][SaferCpp] Detect implicit id-to-specific-type casts in MemoryUnsafeCastChecker (#213113) 2026-07-31 08:36:16 -07:00
Support [llvm][RISCV] Revise xsfmm intrinsic interface. (#201527) 2026-06-22 10:24:43 +08:00
Testing [LLVM][ADT] Migrate users of make_scope_exit to CTAD (#174030) 2026-01-02 20:42:56 -08:00
Tooling [clang][DependencyScanning] Relocate CompilerInstanceWithContext to DependencyScanningWorker.cpp (#211407) 2026-07-31 08:54:14 -07:00
UnifiedSymbolResolution [clang][Index][USR] Generate USRs for class-type non-type template arguments (#212356) 2026-07-27 16:51:06 -07:00
CMakeLists.txt Revert "[Clang] Don't build static analyzer if disabled" (#212836) 2026-07-29 18:43:56 +00:00