diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-03-10 00:35:30 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-03-10 00:35:30 +0000 |
commit | 9db8f5d743f9cb7fe3ec4167b28dad9cff3e4964 (patch) | |
tree | d2a233e11642dea0dea0f12db7d438682ec8a46a /tools/ccc/ccclib/Tools.py | |
parent | 26dce44534602660ea9f4152bffc5436fc5fe3b2 (diff) |
Forward -ftemplate-depth-<N> to clang's -ftemplate-depth N.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66516 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/ccc/ccclib/Tools.py')
-rw-r--r-- | tools/ccc/ccclib/Tools.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/ccc/ccclib/Tools.py b/tools/ccc/ccclib/Tools.py index 85bc01d837..53fe38df21 100644 --- a/tools/ccc/ccclib/Tools.py +++ b/tools/ccc/ccclib/Tools.py @@ -415,6 +415,11 @@ class Clang_CompileTool(Tool): arglist.addLastArg(cmd_args, arglist.parser.wOption) arglist.addAllArgs3(cmd_args, arglist.parser.stdOption, arglist.parser.ansiOption, arglist.parser.trigraphsOption) + arg = arglist.getLastArg(arglist.parser.f_templateDepthOption) + if arg: + cmd_args.append('-ftemplate-depth') + cmd_args.append(arglist.getValue(arg)) + arglist.addAllArgs(cmd_args, arglist.parser.Clang_fGroup) arglist.addLastArg(cmd_args, arglist.parser.dMOption) |