summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'BuildTools')
-rwxr-xr-xBuildTools/FixIncludes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/BuildTools/FixIncludes.py b/BuildTools/FixIncludes.py
index 8ecbd4a..81c7b17 100755
--- a/BuildTools/FixIncludes.py
+++ b/BuildTools/FixIncludes.py
@@ -149,5 +149,5 @@ if filename_base.endswith(".h"):
print "Missing #pragma once!"
exit(2)
cleanHeaderFile(content, headerStart, headerEnd, headerGroups)
-elif filename_base.endswith(".cpp"):
+elif filename_base.endswith(".cpp") or filename_base.endswith(".mm"):
cleanImplementationFile(content, headerStart, headerEnd, headerGroups)