[libcxx] r296965 - Fix nonsense comment
Eric Fiselier via cfe-commits
cfe-commits at lists.llvm.org
Sat Mar 4 04:28:13 PST 2017
Author: ericwf
Date: Sat Mar 4 06:28:12 2017
New Revision: 296965
URL: http://llvm.org/viewvc/llvm-project?rev=296965&view=rev
Log:
Fix nonsense comment
Modified:
libcxx/trunk/utils/libcxx/test/config.py
Modified: libcxx/trunk/utils/libcxx/test/config.py
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/utils/libcxx/test/config.py?rev=296965&r1=296964&r2=296965&view=diff
==============================================================================
--- libcxx/trunk/utils/libcxx/test/config.py (original)
+++ libcxx/trunk/utils/libcxx/test/config.py Sat Mar 4 06:28:12 2017
@@ -401,7 +401,8 @@ class Configuration(object):
if self.is_windows:
self.config.available_features.add('windows')
- # Attempt to detect the glibc version by querying
+ # Attempt to detect the glibc version by querying for __GLIBC__
+ # in 'features.h'.
macros = self.cxx.dumpMacros(flags=['-include', 'features.h'])
if macros is not None and '__GLIBC__' in macros:
maj_v, min_v = (macros['__GLIBC__'], macros['__GLIBC_MINOR__'])
More information about the cfe-commits
mailing list