Any feedback?

Thanks,
--Serge

2015-08-26 0:26 GMT+06:00 Serge Pavlov <sepavl...@gmail.com>:

> sepavloff created this revision.
> sepavloff added a subscriber: cfe-commits.
>
> Instantiation of static class members can be not obvious in some cases.
> Using
> modules can cause problems even more difficult to diagnose. PR24425
> describes
> one of such cases. As a way to assist a user, compiler could issue
> warnings if
> code that is potentially erroneous. This patch implements a warning if a
> static
> class member is used in a module, but cannot be instantiated there.
>
> http://reviews.llvm.org/D12326
>
> Files:
>   include/clang/Basic/DiagnosticGroups.td
>   include/clang/Basic/DiagnosticSemaKinds.td
>   lib/Sema/SemaDecl.cpp
>   test/Modules/Inputs/module-inst.cpp
>   test/Modules/Inputs/module-inst/a.h
>   test/Modules/Inputs/module-inst/module.modulemap
>
>
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to