summaryrefslogtreecommitdiffstats
path: root/llvm/docs/SourceLevelDebugging.rst
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2018-11-19 22:19:05 +0000
committerReid Kleckner <rnk@google.com>2018-11-19 22:19:05 +0000
commit994a8451bad18200af1e13d4200b75308559619e (patch)
treed8e2a15d35d2842aaad4ecbfc3e8f69ededac8c1 /llvm/docs/SourceLevelDebugging.rst
parent808d0dd68910540da1bd4596d01cd7dbfaff220b (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud