summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/Tools.h
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2016-02-29 01:40:36 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2016-02-29 01:40:36 +0000
commitcd5855e3549eebbf2a22d31b37f36d223c4c7b62 (patch)
tree2e2885e4d9f404f48923f7d0f87ded7ff0c4490a /clang/lib/Driver/Tools.h
parent387fccd8dad1ab16f4d7332e8462b88bcbb2b26e (diff)
downloadbcm5719-llvm-cd5855e3549eebbf2a22d31b37f36d223c4c7b62.tar.gz
bcm5719-llvm-cd5855e3549eebbf2a22d31b37f36d223c4c7b62.zip
[clang-cl] /EHc should not effect functions with explicit exception specifications
Functions with an explicit exception specification have their behavior dictated by the specification. The additional /EHc behavior only comes into play if no exception specification is given. llvm-svn: 262198
Diffstat (limited to 'clang/lib/Driver/Tools.h')
-rw-r--r--clang/lib/Driver/Tools.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Driver/Tools.h b/clang/lib/Driver/Tools.h
index 1d348bbbd68..6884cd42f3b 100644
--- a/clang/lib/Driver/Tools.h
+++ b/clang/lib/Driver/Tools.h
@@ -91,7 +91,7 @@ private:
llvm::opt::ArgStringList &cmdArgs,
RewriteKind rewrite) const;
- void AddClangCLArgs(const llvm::opt::ArgList &Args,
+ void AddClangCLArgs(const llvm::opt::ArgList &Args, types::ID InputType,
llvm::opt::ArgStringList &CmdArgs,
codegenoptions::DebugInfoKind *DebugInfoKind,
bool *EmitCodeView) const;
OpenPOWER on IntegriCloud