commit | 9add31798f621f843233dbff8bba103fca64447b | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Tue Feb 17 03:23:10 2009 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Tue Feb 17 03:23:10 2009 +0000 |
tree | 231b324f975bfb9bd2db0e66c3f6d3b6d0440b4e | |
parent | 85b2a47ec0450ee78b2c36ec482179cb4743bff7 [diff] |
Static variables and functions won't collide with standard library functions, so if we're declaring a static we should implicitly declare a library function by the same name (e.g., malloc, strdup). Fixes PR3592. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64736 91177308-0d34-0410-b5e6-96231b3b80d8