Index: tools/clang/scripts/update.py |
diff --git a/tools/clang/scripts/update.py b/tools/clang/scripts/update.py |
index 421fee4472e4a144221a69884c08a28ed88b2dd2..520903da26edbcb221866d9224268d27b6cc97a6 100755 |
--- a/tools/clang/scripts/update.py |
+++ b/tools/clang/scripts/update.py |
@@ -854,6 +854,11 @@ def main(): |
print 'Skipping Clang update (make_clang_dir= was set in GYP_DEFINES).' |
return 0 |
+ if use_head_revision: |
+ # TODO(hans): Remove after the next roll. |
+ global VERSION |
+ VERSION = '4.0.0' |
+ |
global CLANG_REVISION, PACKAGE_VERSION |
if args.print_revision: |
if use_head_revision or args.llvm_force_head_revision: |