[PATCH] D37240: Fix crbug 759265 by suppressing llvm mt warnings.

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 5 15:07:43 PDT 2017


ruiu added a comment.

Hmm, now it doesn't look like it is towards a right direction.

As I understand the API of your WindowsManifestMerger class, it provides an empty implementation if libxml2 is not available so any code that uses your WindowsManifestMerger class can compile at least on any condition (though it may raise an error/returns an empty result at runtime if it wasn't compiled with libxml2). This patch uses conditional compilation to avoid compiler errors, which seems a violation of the rule.


https://reviews.llvm.org/D37240





More information about the llvm-commits mailing list