[PATCH] D25967: Avoid running regex on None

Azharuddin Mohammed via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 25 14:33:47 PDT 2016


azharudd added inline comments.


================
Comment at: lnt/testing/util/compilers.py:85
-                cc, cc_version))
-    m = re.match(r'(.*) version ([^ ]*) +(\([^(]*\))(.*)', version_ln)
-    if m is not None:
----------------
this is the faulty line. 


Repository:
  rL LLVM

https://reviews.llvm.org/D25967





More information about the llvm-commits mailing list