| Index: tools/clang/scripts/test_tool.py
|
| diff --git a/tools/clang/scripts/test_tool.py b/tools/clang/scripts/test_tool.py
|
| index d14dfda452d5e027aace89632275e0693341cd1b..1f64be474d5793c15513aad7bb83082f56e2d924 100755
|
| --- a/tools/clang/scripts/test_tool.py
|
| +++ b/tools/clang/scripts/test_tool.py
|
| @@ -20,7 +20,7 @@ def _GenerateCompileCommands(files, include_paths):
|
| include_path_flags = ' '.join('-I %s' % include_path
|
| for include_path in include_paths)
|
| return json.dumps([{'directory': '.',
|
| - 'command': 'clang++ -fsyntax-only %s -c %s' % (
|
| + 'command': 'clang++ -std=c++11 -fsyntax-only %s -c %s' % (
|
| include_path_flags, f),
|
| 'file': f} for f in files], indent=2)
|
|
|
|
|