| 102 | } |
| 103 | |
| 104 | std::string cmSourceFile::GetLanguage() const |
| 105 | { |
| 106 | // If the language was set explicitly by the user then use it. |
| 107 | if (cmValue lang = this->GetProperty(propLANGUAGE)) { |
| 108 | return *lang; |
| 109 | } |
| 110 | |
| 111 | // Use the language determined from the file extension. |
| 112 | return this->Language; |
| 113 | } |
| 114 | |
| 115 | cmSourceFileLocation const& cmSourceFile::GetLocation() const |
| 116 | { |
no test coverage detected