Any feedback? Thanks, --Serge
2016-01-21 14:33 GMT+06:00 Serge Pavlov <sepavl...@gmail.com>: > sepavloff created this revision. > sepavloff added a reviewer: rsmith. > sepavloff added subscribers: cfe-commits, silvas. > > Instantiation of static class members may be a source of user > misunderstanding, > especially in the case of using modules, PR24425 describes one of such > examples. > This patch implements warning if compiler tried to make implicit > instantiation > but could not find template definition. The implementation follows > discussion > of http://reviews.llvm.org/D12326. > > http://reviews.llvm.org/D16396 > > Files: > include/clang/Basic/DiagnosticGroups.td > include/clang/Basic/DiagnosticSemaKinds.td > include/clang/Sema/Sema.h > lib/Sema/SemaTemplateInstantiateDecl.cpp > test/CXX/temp/temp.decls/temp.mem/p1.cpp > test/OpenMP/parallel_ast_print.cpp > test/OpenMP/parallel_sections_ast_print.cpp > test/OpenMP/task_ast_print.cpp > test/OpenMP/teams_ast_print.cpp > test/OpenMP/threadprivate_ast_print.cpp > test/SemaCXX/PR10177.cpp > test/SemaCXX/undefined-internal.cpp > test/SemaTemplate/unavailable-var-template.cpp > >
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits