Fix up clang-tidy after bug 1480631. r=bustage
☠☠ backed out by 8489f76a1b4d ☠ ☠
authorMike Hommey <mh+mozilla@glandium.org>
Thu, 09 Aug 2018 06:36:11 +0900
changeset 430664 ed7dba433629d45ad46f4985882ebd7cfed8f85f
parent 430663 dd64a5e6d4dfa07ba7a819878852cb458a87bf98
child 430665 b353e89db75153e9de959b56193ebfef3b483ac3
push id106233
push usermh@glandium.org
push dateWed, 08 Aug 2018 22:07:32 +0000
treeherdermozilla-inbound@b353e89db751 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage
bugs1480631
milestone63.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Fix up clang-tidy after bug 1480631. r=bustage
build/build-clang/build-clang.py
--- a/build/build-clang/build-clang.py
+++ b/build/build-clang/build-clang.py
@@ -292,17 +292,17 @@ def get_tool(config, key):
 #           * (nothing will be deleted here)
 #   share/
 #     clang/
 #       clang-format-diff.py
 #       clang-tidy-diff.py
 #       run-clang-tidy.py
 def prune_final_dir_for_clang_tidy(final_dir):
     # Make sure we only have what we expect.
-    dirs = ("bin", "include", "lib", "libexec", "msbuild-bin", "share", "tools")
+    dirs = ("bin", "include", "lib", "lib32", "libexec", "msbuild-bin", "share", "tools")
     for f in glob.glob("%s/*" % final_dir):
         if os.path.basename(f) not in dirs:
             raise Exception("Found unknown file %s in the final directory" % f)
         if not os.path.isdir(f):
             raise Exception("Expected %s to be a directory" % f)
 
     # In bin/, only keep clang-tidy and clang-apply-replacements. The last one
     # is used to auto-fix some of the issues detected by clang-tidy.