[clang-tools-extra] r267828 - clang-tools-extra/test/clang-tidy/cppcoreguidelines-pro-type-member-init-cxx98.cpp: Appease ms targets with -fno-delayed-template-parsing.

Alexander Kornienko via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 28 03:02:21 PDT 2016


Thank you for the fix! We've actually tried adding -fdelayed-template-parsing
and -fms-compatibility on linux, and the test passed. Not sure why it
failed on Windows. Is there any other subtle difference?

On Thu, Apr 28, 2016 at 2:39 AM, NAKAMURA Takumi via cfe-commits <
cfe-commits at lists.llvm.org> wrote:

> Author: chapuni
> Date: Wed Apr 27 19:39:48 2016
> New Revision: 267828
>
> URL: http://llvm.org/viewvc/llvm-project?rev=267828&view=rev
> Log:
> clang-tools-extra/test/clang-tidy/cppcoreguidelines-pro-type-member-init-cxx98.cpp:
> Appease ms targets with -fno-delayed-template-parsing.
>
> Modified:
>
> clang-tools-extra/trunk/test/clang-tidy/cppcoreguidelines-pro-type-member-init-cxx98.cpp
>
> Modified:
> clang-tools-extra/trunk/test/clang-tidy/cppcoreguidelines-pro-type-member-init-cxx98.cpp
> URL:
> http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clang-tidy/cppcoreguidelines-pro-type-member-init-cxx98.cpp?rev=267828&r1=267827&r2=267828&view=diff
>
> ==============================================================================
> ---
> clang-tools-extra/trunk/test/clang-tidy/cppcoreguidelines-pro-type-member-init-cxx98.cpp
> (original)
> +++
> clang-tools-extra/trunk/test/clang-tidy/cppcoreguidelines-pro-type-member-init-cxx98.cpp
> Wed Apr 27 19:39:48 2016
> @@ -1,4 +1,4 @@
> -// RUN: %check_clang_tidy %s cppcoreguidelines-pro-type-member-init %t --
> -- -std=c++98
> +// RUN: %check_clang_tidy %s cppcoreguidelines-pro-type-member-init %t --
> -- -std=c++98 -fno-delayed-template-parsing
>
>  struct PositiveFieldBeforeConstructor {
>    int F;
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160428/8b349a17/attachment.html>


More information about the cfe-commits mailing list