[all-commits] [llvm/llvm-project] ac6164: [clang][Sema] Always clear UndefinedButUsed (#73955)

Jonas Hahnfeld via All-commits all-commits at lists.llvm.org
Tue Dec 12 08:57:34 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ac616408b276fc953d5f800229830b48fef4d308
      https://github.com/llvm/llvm-project/commit/ac616408b276fc953d5f800229830b48fef4d308
  Author: Jonas Hahnfeld <jonas.hahnfeld at cern.ch>
  Date:   2023-12-12 (Tue, 12 Dec 2023)

  Changed paths:
    M clang/lib/Sema/Sema.cpp

  Log Message:
  -----------
  [clang][Sema] Always clear UndefinedButUsed (#73955)

Before, it was only cleared if there were undefined entities. This is
important for Clang's incremental parsing as used by `clang-repl` that
might receive multiple calls to `Sema.ActOnEndOfTranslationUnit`.




More information about the All-commits mailing list