[llvm-commits] a windows pass registration patch

Anton Korobeynikov anton at korobeynikov.info
Thu Jun 16 20:21:18 PDT 2011


Hello

> -template<typename passName>
> +template<typename passName, bool bSharedPass=
> +#if defined(_WIN32) && defined(LLVM_SHARED_PASS)
> +  true
> +#else
> +  false
> +#endif
> +>
Why do we need this flag at all? Why cannot we have it always "true"?

PS: Please follow LLVM coding conventions for the patches.
-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University




More information about the llvm-commits mailing list