diff options
author | Reid Kleckner <rnk@google.com> | 2018-11-19 22:19:05 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2018-11-19 22:19:05 +0000 |
commit | 994a8451bad18200af1e13d4200b75308559619e (patch) | |
tree | d8e2a15d35d2842aaad4ecbfc3e8f69ededac8c1 /llvm/docs/SourceLevelDebugging.rst | |
parent | 808d0dd68910540da1bd4596d01cd7dbfaff220b (diff) | |
download | bcm5719-llvm-994a8451bad18200af1e13d4200b75308559619e.tar.gz bcm5719-llvm-994a8451bad18200af1e13d4200b75308559619e.zip |
[Transforms] Prefer static and avoid namespaces, NFC
Put 'static' on three functions in an anonymous namespace as per our
coding style.
Remove the 'namespace llvm {}' around the .cpp file and explicitly
declare the free function 'llvm::optimizeGlobalCtorsList' in 'llvm::'.
I prefer this style for free functions because the compiler will error
out if the .h and .cpp files don't agree on the function name or
prototype.
llvm-svn: 347269
Diffstat (limited to 'llvm/docs/SourceLevelDebugging.rst')
0 files changed, 0 insertions, 0 deletions