diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2015-10-28 13:54:16 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2015-10-28 13:54:16 +0000 |
commit | e003ca2a03b2b4d776628183c988f0e15c44240c (patch) | |
tree | 4cd430467ab5ae850a5f299c31b4d1c9e0a4ae8b /clang/lib/Driver/Tools.cpp | |
parent | 8eb2a18a9fc0f9a4cfc1b1bc419d784b38a975ae (diff) | |
download | llvm-e003ca2a03b2b4d776628183c988f0e15c44240c.zip llvm-e003ca2a03b2b4d776628183c988f0e15c44240c.tar.gz llvm-e003ca2a03b2b4d776628183c988f0e15c44240c.tar.bz2 |
Put global classes into the appropriate namespace.
Most of the cases belong into an anonymous namespace. No functionality
change intended.
llvm-svn: 251514
Diffstat (limited to 'clang/lib/Driver/Tools.cpp')
-rw-r--r-- | clang/lib/Driver/Tools.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/Driver/Tools.cpp b/clang/lib/Driver/Tools.cpp index 1c6f86f..e90e616 100644 --- a/clang/lib/Driver/Tools.cpp +++ b/clang/lib/Driver/Tools.cpp @@ -5369,12 +5369,14 @@ static bool maybeConsumeDash(const std::string &EH, size_t &I) { return !HaveDash; } +namespace { struct EHFlags { EHFlags() : Synch(false), Asynch(false), NoExceptC(false) {} bool Synch; bool Asynch; bool NoExceptC; }; +} // end anonymous namespace /// /EH controls whether to run destructor cleanups when exceptions are /// thrown. There are three modifiers: |