Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1650642

Re: [patch] compiler, clang: suppress warning for unused static inline functions

From Joe Perches <joe@perches.com>
Newsgroups linux.kernel
Subject Re: [patch] compiler, clang: suppress warning for unused static inline functions
Date 2017-05-25 18:50 +0200
Message-ID <tL47w-29T-9@gated-at.bofh.it> (permalink)
References <tKLHA-7u7-15@gated-at.bofh.it> <tKM0V-7Bg-1@gated-at.bofh.it> <tKTYt-4c9-7@gated-at.bofh.it> <tL3Et-1ZE-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, 2017-05-25 at 09:14 -0700, Matthias Kaehlcke wrote:
> clang doesn't raise
> warnings about unused static inline functions in headers.

Is any "#include" file a "header" to clang or only "*.h" files?

For instance:

The kernel has ~500 .c files that other .c files #include.
Are unused inline functions in those .c files reported?

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [patch] compiler, clang: suppress warning for unused static  inline functions Ingo Molnar <mingo@kernel.org> - 2017-05-25 08:00 +0200
  Re: [patch] compiler, clang: suppress warning for unused static  inline functions Matthias Kaehlcke <mka@chromium.org> - 2017-05-25 18:20 +0200
    Re: [patch] compiler, clang: suppress warning for unused static  inline functions Joe Perches <joe@perches.com> - 2017-05-25 18:50 +0200
      Re: [patch] compiler, clang: suppress warning for unused static  inline functions Matthias Kaehlcke <mka@chromium.org> - 2017-05-25 20:00 +0200

csiph-web