Author: cpplearner Date: Mon Dec 17 11:53:22 2018 New Revision: 349384 URL: http://llvm.org/viewvc/llvm-project?rev=349384&view=rev Log: [NFC] Test commit: tweak whitespace in comment
Modified: cfe/trunk/test/CXX/temp/temp.param/p3.cpp Modified: cfe/trunk/test/CXX/temp/temp.param/p3.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CXX/temp/temp.param/p3.cpp?rev=349384&r1=349383&r2=349384&view=diff ============================================================================== --- cfe/trunk/test/CXX/temp/temp.param/p3.cpp (original) +++ cfe/trunk/test/CXX/temp/temp.param/p3.cpp Mon Dec 17 11:53:22 2018 @@ -16,7 +16,7 @@ template<template<class T> class Y> stru // [Note: because of the name lookup rules, a template-parameter that // could be interpreted as either a non-type template-parameter or a // type-parameter (because its identifier is the name of an already -// existing class) is taken as a type-parameter. For example, +// existing class) is taken as a type-parameter. For example, class T { /* ... */ }; // expected-note{{candidate constructor (the implicit copy constructor) not viable}} #if __cplusplus >= 201103L // C++11 or later // expected-note@-2 {{candidate constructor (the implicit move constructor) not viable}} @@ -27,7 +27,7 @@ int i; template<class T, T i> struct X2 { void f(T t) { - T t1 = i; //template-parameters T and i + T t1 = i; // template-parameters T and i ::T t2 = ::i; // global namespace members T and i \ // expected-error{{no viable conversion}} } _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits