[libclc] r310968 - configure.py: Drop explicit import of int builtin

Jan Vesely via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 15 15:24:05 PDT 2017

Author: jvesely
Date: Tue Aug 15 15:24:05 2017
New Revision: 310968

URL: http://llvm.org/viewvc/llvm-project?rev=310968&view=rev
configure.py: Drop explicit import of int builtin

I can't reproduce the error that made me add this.

Reported-by: Kim Gräsman <kim.grasman at gmail.com>
Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
Reviewed-by: Kim Gräsman <kim.grasman at gmail.com>
Reviewed-by: Aaron Watry <awatry at gmail.com>


Modified: libclc/trunk/configure.py
URL: http://llvm.org/viewvc/llvm-project/libclc/trunk/configure.py?rev=310968&r1=310967&r2=310968&view=diff
--- libclc/trunk/configure.py (original)
+++ libclc/trunk/configure.py Tue Aug 15 15:24:05 2017
@@ -1,12 +1,6 @@
 from __future__ import print_function
-# We only need this for int() cast, which works by default in python 2
-    from builtins import int
-    pass
 def c_compiler_rule(b, name, description, compiler, flags):
   command = "%s -MMD -MF $out.d %s -c -o $out $in" % (compiler, flags)
   b.rule(name, command, description + " $out", depfile="$out.d")

More information about the cfe-commits mailing list