[all-commits] [llvm/llvm-project] 9bbefb: [clang] Store FPOptions earlier when parsing funct...

Serge Pavlov via All-commits all-commits at lists.llvm.org
Wed May 15 09:13:23 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9bbefb7f600019c9d7025281132dd160729bfff2
      https://github.com/llvm/llvm-project/commit/9bbefb7f600019c9d7025281132dd160729bfff2
  Author: Serge Pavlov <sepavloff at gmail.com>
  Date:   2024-05-15 (Wed, 15 May 2024)

  Changed paths:
    M clang/lib/Parse/Parser.cpp
    A clang/test/PCH/optnone.cpp

  Log Message:
  -----------
  [clang] Store FPOptions earlier when parsing function (#92146)

After https://github.com/llvm/llvm-project/pull/85605 ([clang] Set
correct FPOptions if attribute 'optnone' presents) the current FP
options in Sema are saved during parsing function because Sema can
modify them if optnone is present. However they were saved too late, it
caused fails in some cases when precompiled headers are used. This patch
moves the storing earlier.



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