[all-commits] [llvm/llvm-project] 211063: [clang] fixes named return of variables with depen...

Matheus Izvekov via All-commits all-commits at lists.llvm.org
Mon Jul 5 17:31:00 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 21106388eb96c87b3f580c42a322c76a61605261
      https://github.com/llvm/llvm-project/commit/21106388eb96c87b3f580c42a322c76a61605261
  Author: Matheus Izvekov <mizvekov at gmail.com>
  Date:   2021-07-06 (Tue, 06 Jul 2021)

  Changed paths:
    M clang/include/clang/AST/Decl.h
    M clang/lib/AST/Decl.cpp
    M clang/lib/Sema/SemaDecl.cpp
    M clang/lib/Sema/SemaStmt.cpp
    M clang/test/CodeGen/nrvo-tracking.cpp

  Log Message:
  -----------
  [clang] fixes named return of variables with dependent alignment

Named return of a variable with aligned attribute would
trip an assert in case alignment was dependent.

Signed-off-by: Matheus Izvekov <mizvekov at gmail.com>

Reviewed By: rsmith

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




More information about the All-commits mailing list