diff options
author | Brad King <brad.king@kitware.com> | 2016-03-29 14:01:40 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-03-29 14:02:17 (GMT) |
commit | 02fce523a13c8e4cda0c95334b480bb87336ed1c (patch) | |
tree | 9e355e7c0b2d7fc8224b36427900e3775183f1f4 /Source/cmConditionEvaluator.h | |
parent | 90f24f016e93d18f6a244b39fd21c68355bdbe48 (diff) | |
download | CMake-02fce523a13c8e4cda0c95334b480bb87336ed1c.zip CMake-02fce523a13c8e4cda0c95334b480bb87336ed1c.tar.gz CMake-02fce523a13c8e4cda0c95334b480bb87336ed1c.tar.bz2 |
cmConditionEvaluator: Drop unnecessary path conversion
In commit v3.4.0-rc2~1^2 (cmIfCommand: Issue CMP0054 warning with
appropriate context, 2015-10-20) we added construction of a
cmListFileContext with conversion of the calling file path. This code
path runs on every condition (e.g. `if()`) and so the path conversion
has a noticeable performance cost. Fortunately the only use of this
context is for insertion into cmMakefile::CMP0054ReportedIds so we do
not need to convert the path. Simply drop the conversion.
Diffstat (limited to 'Source/cmConditionEvaluator.h')
0 files changed, 0 insertions, 0 deletions