[all-commits] [llvm/llvm-project] 55d7a1: [CodeGen] Avoid pointee type access during global ...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Tue Dec 21 02:48:53 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 55d7a12b86d81ad3b19f790893f8bf38c817fd61
https://github.com/llvm/llvm-project/commit/55d7a12b86d81ad3b19f790893f8bf38c817fd61
Author: Nikita Popov <npopov at redhat.com>
Date: 2021-12-21 (Tue, 21 Dec 2021)
Changed paths:
M clang/lib/CodeGen/CGDeclCXX.cpp
M clang/lib/CodeGen/CodeGenFunction.h
Log Message:
-----------
[CodeGen] Avoid pointee type access during global var declaration
All callers pass in a GlobalVariable, so we can conveniently fetch
the type from there.
More information about the All-commits
mailing list