Add notice of caching whether the compiler is MSVC

Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com>
This commit is contained in:
Bence Szépkúti 2021-05-12 09:49:45 +02:00 committed by Gilles Peskine
parent 24c29fe7c3
commit 0671dd3107

View File

@ -115,6 +115,9 @@ def get_c_expression_values(
to ``cc``. If ``CC`` looks like MSVC, use its command line syntax,
otherwise assume the compiler supports Unix traditional ``-I`` and ``-o``.
NOTE: This function only checks the identity of the compiler referred to by
``CC`` on its first invocation, and caches the result.
Return the list of values of the ``expressions``.
"""
if include_path is None: