diff options
author | Robert Maynard <robert.maynard@kitware.com> | 2020-06-15 16:44:26 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-06-17 10:30:39 (GMT) |
commit | 574f71efba3bc9af4bd46ae154a421d1f5f86c97 (patch) | |
tree | 1198ae6a3350413684733794f143a732752052e4 /Source/cmCoreTryCompile.h | |
parent | 43b10e2411858ae7734c54480a8c0c6c3ccd659b (diff) | |
download | CMake-574f71efba3bc9af4bd46ae154a421d1f5f86c97.zip CMake-574f71efba3bc9af4bd46ae154a421d1f5f86c97.tar.gz CMake-574f71efba3bc9af4bd46ae154a421d1f5f86c97.tar.bz2 |
try_compile: Refactor language standard level parsing
cmCoreTryCompile had significant code duplication around handling
languages that offer standard levels. This refactoring reduces
the complexity and makes it easier to add new languages in the
future.
Diffstat (limited to 'Source/cmCoreTryCompile.h')
-rw-r--r-- | Source/cmCoreTryCompile.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Source/cmCoreTryCompile.h b/Source/cmCoreTryCompile.h index ae714a6..916572a 100644 --- a/Source/cmCoreTryCompile.h +++ b/Source/cmCoreTryCompile.h @@ -47,10 +47,6 @@ protected: std::string OutputFile; std::string FindErrorMessage; bool SrcFileSignature = false; - -private: - std::vector<std::string> WarnCMP0067; - std::string LookupStdVar(std::string const& var, bool warnCMP0067); }; #endif |