[PATCH] D26045: [cfi] Fix weak functions handling.
Peter Collingbourne via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 27 17:16:05 PDT 2016
pcc added inline comments.
================
Comment at: lib/Transforms/IPO/LowerTypeTests.cpp:1077
ObjectFormat = TargetTriple.getObjectFormat();
+ WeakInitializerFn = nullptr;
}
----------------
pcc wrote:
> Nit: this could be an in-class initializer.
I meant that you could write `Function *WeakInitializerFn = nullptr;` in the class definition
Repository:
rL LLVM
https://reviews.llvm.org/D26045
More information about the llvm-commits
mailing list