summaryrefslogtreecommitdiffstats
path: root/clang/Driver/CacheTokens.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-02-24 01:23:02 +0000
committerDouglas Gregor <dgregor@apple.com>2009-02-24 01:23:02 +0000
commite62c0a45dd54045a523b6cf1c657d3bbc9a81404 (patch)
tree39f3dc4eef45c3157db0a8d2a809a2cebb91112a /clang/Driver/CacheTokens.cpp
parente6698847490224d4ade0a5e0f1c8784f23201c0b (diff)
downloadbcm5719-llvm-e62c0a45dd54045a523b6cf1c657d3bbc9a81404.tar.gz
bcm5719-llvm-e62c0a45dd54045a523b6cf1c657d3bbc9a81404.zip
Improve merging of function declarations. Specifically:
- When we are declaring a function in local scope, we can merge with a visible declaration from an outer scope if that declaration refers to an entity with linkage. This behavior now works in C++ and properly ignores entities without linkage. - Diagnose the use of "static" on a function declaration in local scope. - Diagnose the declaration of a static function after a non-static declaration of the same function. - Propagate the storage specifier to a function declaration from a prior declaration (PR3425) - Don't name-mangle "main" llvm-svn: 65360
Diffstat (limited to 'clang/Driver/CacheTokens.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud