[all-commits] [llvm/llvm-project] aba32a: [C++20] [Modules] Avoid crash if the inconsistency...

Chuanqi Xu via All-commits all-commits at lists.llvm.org
Wed Apr 26 23:21:41 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: aba32abe2d93133a46f67764937a1c85d455dce8
      https://github.com/llvm/llvm-project/commit/aba32abe2d93133a46f67764937a1c85d455dce8
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2023-04-27 (Thu, 27 Apr 2023)

  Changed paths:
    M clang/lib/Lex/Lexer.cpp
    M clang/lib/Serialization/ASTReader.cpp
    A clang/test/Modules/pr62359.cppm

  Log Message:
  -----------
  [C++20] [Modules] Avoid crash if the inconsistency the size of lang options exceeds 1

Close https://github.com/llvm/llvm-project/issues/62359

The root reason for the crash is that we didn't test the case that
the bits number of a language option exceeds 1.




More information about the All-commits mailing list