[all-commits] [llvm/llvm-project] 9fa7f4: [Fixed Point] Add fixed-point to floating point ca...

Bevin Hansson via All-commits all-commits at lists.llvm.org
Tue Oct 13 04:44:06 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9fa7f48459761fa13205f4c931484b0977c35746
      https://github.com/llvm/llvm-project/commit/9fa7f48459761fa13205f4c931484b0977c35746
  Author: Bevin Hansson <bevin.hansson at ericsson.com>
  Date:   2020-10-13 (Tue, 13 Oct 2020)

  Changed paths:
    M clang/include/clang/AST/OperationKinds.def
    M clang/lib/AST/Expr.cpp
    M clang/lib/AST/ExprConstant.cpp
    M clang/lib/CodeGen/CGExpr.cpp
    M clang/lib/CodeGen/CGExprAgg.cpp
    M clang/lib/CodeGen/CGExprComplex.cpp
    M clang/lib/CodeGen/CGExprConstant.cpp
    M clang/lib/CodeGen/CGExprScalar.cpp
    M clang/lib/Edit/RewriteObjCFoundationAPI.cpp
    M clang/lib/Sema/SemaExpr.cpp
    M clang/lib/StaticAnalyzer/Core/ExprEngineC.cpp
    M clang/test/Frontend/fixed_point_conversions_const.c
    M clang/test/Frontend/fixed_point_errors.c
    M clang/test/Frontend/fixed_point_unknown_conversions.c

  Log Message:
  -----------
  [Fixed Point] Add fixed-point to floating point cast types and consteval.

Reviewed By: leonardchan

Differential Revision: https://reviews.llvm.org/D86631


  Commit: 101309fe048e66873cfd972c47c4b7e7f2b99f41
      https://github.com/llvm/llvm-project/commit/101309fe048e66873cfd972c47c4b7e7f2b99f41
  Author: Bevin Hansson <bevin.hansson at ericsson.com>
  Date:   2020-10-13 (Tue, 13 Oct 2020)

  Changed paths:
    M clang/include/clang/AST/ASTContext.h
    M clang/lib/AST/ASTContext.cpp
    M clang/lib/AST/RecordLayoutBuilder.cpp
    M clang/lib/CodeGen/CGAtomic.cpp
    M clang/lib/CodeGen/CGBlocks.cpp
    M clang/lib/CodeGen/CGCUDANV.cpp
    M clang/lib/CodeGen/CGCall.cpp
    M clang/lib/CodeGen/CGClass.cpp
    M clang/lib/CodeGen/CGExprAgg.cpp
    M clang/lib/CodeGen/CGObjC.cpp
    M clang/lib/CodeGen/CGRecordLayoutBuilder.cpp
    M clang/lib/CodeGen/CGValue.h
    M clang/lib/CodeGen/TargetInfo.cpp
    M clang/lib/StaticAnalyzer/Checkers/PaddingChecker.cpp

  Log Message:
  -----------
  [AST] Change return type of getTypeInfoInChars to a proper struct instead of std::pair.

Followup to D85191.

This changes getTypeInfoInChars to return a TypeInfoChars
struct instead of a std::pair of CharUnits. This lets the
interface match getTypeInfo more closely.

Reviewed By: efriedma

Differential Revision: https://reviews.llvm.org/D86447


Compare: https://github.com/llvm/llvm-project/compare/52ba4fa6aa21...101309fe048e


More information about the All-commits mailing list