[Openmp-commits] [openmp] r356289 - [OpenMP] Add missing parenthesis in Perl module

Jonathan Peyton via Openmp-commits openmp-commits at lists.llvm.org
Fri Mar 15 11:27:15 PDT 2019


Author: jlpeyton
Date: Fri Mar 15 11:27:14 2019
New Revision: 356289

URL: http://llvm.org/viewvc/llvm-project?rev=356289&view=rev
Log:
[OpenMP] Add missing parenthesis in Perl module

Modified:
    openmp/trunk/runtime/tools/lib/LibOMP.pm

Modified: openmp/trunk/runtime/tools/lib/LibOMP.pm
URL: http://llvm.org/viewvc/llvm-project/openmp/trunk/runtime/tools/lib/LibOMP.pm?rev=356289&r1=356288&r2=356289&view=diff
==============================================================================
--- openmp/trunk/runtime/tools/lib/LibOMP.pm (original)
+++ openmp/trunk/runtime/tools/lib/LibOMP.pm Fri Mar 15 11:27:14 2019
@@ -16,7 +16,7 @@ use tools;
 
 sub empty($) {
     my ( $var ) = @_;
-    return (not exists($ENV{$var})) or (not defined($ENV{$var})) or ($ENV{$var} eq "");
+    return ((not exists($ENV{$var})) or (not defined($ENV{$var})) or ($ENV{$var} eq ""));
 }; # sub empty
 
 my ( $base, $out, $tmp );




More information about the Openmp-commits mailing list