[all-commits] [llvm/llvm-project] ae3067: Use consistent code for setting FPFeatures from op...

Richard Smith via All-commits all-commits at lists.llvm.org
Sun Aug 16 17:02:09 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ae3067055b33f6ab5657fbae5845cc743b91c299
      https://github.com/llvm/llvm-project/commit/ae3067055b33f6ab5657fbae5845cc743b91c299
  Author: Richard Smith <richard at metafoo.co.uk>
  Date:   2020-08-16 (Sun, 16 Aug 2020)

  Changed paths:
    M clang/lib/AST/Expr.cpp

  Log Message:
  -----------
  Use consistent code for setting FPFeatures from operator constructors.


  Commit: ae500e4d0964adea69372d083416b0f13e9a87eb
      https://github.com/llvm/llvm-project/commit/ae500e4d0964adea69372d083416b0f13e9a87eb
  Author: Richard Smith <richard at metafoo.co.uk>
  Date:   2020-08-16 (Sun, 16 Aug 2020)

  Changed paths:
    M clang/include/clang/Basic/LangOptions.h
    M clang/test/PCH/determinism.cpp

  Log Message:
  -----------
  Always keep unset fields in FPOptionsOverride zeroed.

There are three fields that the FPOptions default constructor sets to
non-zero values; those fields previously could have been zero or
non-zero depending on whether they'd been explicitly removed from the
FPOptionsOverride set. However, that doesn't seem to ever actually
happen, so this is NFC, except that it makes the AST file representation
of FPOptionsOverride make more sense.


  Commit: 948219d1098736758123c43f995ec784db5d921e
      https://github.com/llvm/llvm-project/commit/948219d1098736758123c43f995ec784db5d921e
  Author: Richard Smith <richard at metafoo.co.uk>
  Date:   2020-08-16 (Sun, 16 Aug 2020)

  Changed paths:
    M clang/include/clang/Basic/LangOptions.h
    M clang/include/clang/Sema/Sema.h
    M clang/include/clang/Serialization/ASTReader.h
    M clang/lib/Parse/ParseDeclCXX.cpp
    M clang/lib/Sema/Sema.cpp
    M clang/lib/Sema/SemaAttr.cpp
    M clang/lib/Sema/TreeTransform.h
    M clang/lib/Serialization/ASTReader.cpp
    M clang/lib/Serialization/ASTReaderStmt.cpp
    M clang/lib/Serialization/ASTWriter.cpp

  Log Message:
  -----------
  Replace setter named 'getAsOpaqueInt' with a real getter.

Clean up a bunch of places where the opaque forms of FPOptions and
FPOptionsOverride were being used inappropriately.


Compare: https://github.com/llvm/llvm-project/compare/9860e68450cd...948219d10987


More information about the All-commits mailing list