[PATCH] D17792: Initialize much of AssemblyWriter lazily.
Rafael Ávila de Espíndola via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 8 05:57:46 PST 2016
rafael added a subscriber: rafael.
================
Comment at: lib/IR/AsmWriter.cpp:424
@@ +423,3 @@
+ /// The named types that are used by the current module.
+ auto GetNamedTypes() -> decltype(*LazyNamedTypes) {
+ EnsureTypesInitialized();
----------------
Why the fancy decltype? Can this be just
TypeFinder getNamedTypes() {....
?
http://reviews.llvm.org/D17792
More information about the llvm-commits
mailing list