[llvm-commits] [llvm] r158787 - in /llvm/trunk:

include/llvm/Analysis/LoopInfo.h include/llvm/Analysis/LoopInfoImpl.h

lib/Analysis/LoopInfo.cpp lib/CodeGen/MachineLoopInfo.cpp
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

MSVC's extern template feature is mostly the same as what is
standardized. However, it was implemented before it was considered for
standardization and VC11 is the first version that implements the
standardized behavior.

The big difference is that you don't need the ifdef around the extern
in header, because the standard allows you to have:

extern template Holder<int>;

template Holder<int>;

Versions of MSVC before 11 require that you not have the extern before
the explicit instantiation.