diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2013-02-01 08:13:20 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2013-02-01 08:13:20 +0000 |
commit | 9c7eb1d887c16a354fdb5441da2360334d84e74e (patch) | |
tree | e05ff4fba50a1809c64723898985ef41c2be5006 /clang/test/Analysis/engine | |
parent | 848e1f19605a1769f28f5f08a37999c4043ae33b (diff) | |
download | bcm5719-llvm-9c7eb1d887c16a354fdb5441da2360334d84e74e.tar.gz bcm5719-llvm-9c7eb1d887c16a354fdb5441da2360334d84e74e.zip |
Add a new -Wundefined-inline warning for inline functions which are used but not
defined. Fixes PR14993!
llvm-svn: 174158
Diffstat (limited to 'clang/test/Analysis/engine')
-rw-r--r-- | clang/test/Analysis/engine/replay-without-inlining.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Analysis/engine/replay-without-inlining.c b/clang/test/Analysis/engine/replay-without-inlining.c index 06029731694..14b2b819b9e 100644 --- a/clang/test/Analysis/engine/replay-without-inlining.c +++ b/clang/test/Analysis/engine/replay-without-inlining.c @@ -16,7 +16,7 @@ typedef struct { int cur; int end; } IB; -inline unsigned long gl(IB *input); +unsigned long gl(IB *input); inline void gbs(IB *input, unsigned char *buf, int count); void getB(IB *st, Hdr2 *usedtobeundef); inline unsigned char gb(IB *input) { |