[all-commits] [llvm/llvm-project] 09669e: [CodeGen] Avoid pointer element type access when c...

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Dec 23 01:53:30 PST 2021

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 09669e6c5fa1e8db9c1091cc264640fb0377d6b6
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2021-12-23 (Thu, 23 Dec 2021)

  Changed paths:
    M clang/lib/CodeGen/CGExpr.cpp
    M clang/lib/CodeGen/CGOpenMPRuntime.cpp
    M clang/lib/CodeGen/CodeGenFunction.cpp

  Log Message:
  [CodeGen] Avoid pointer element type access when creating LValue

This required fixing two places that were passing the pointer type
rather than the expected pointee type to the method.

More information about the All-commits mailing list