diff --git a/cpp/ql/lib/semmle/code/cpp/PchFile.qll b/cpp/ql/lib/semmle/code/cpp/PchFile.qll index fbb372b30e5..787ad947b55 100644 --- a/cpp/ql/lib/semmle/code/cpp/PchFile.qll +++ b/cpp/ql/lib/semmle/code/cpp/PchFile.qll @@ -9,6 +9,9 @@ import semmle.code.cpp.File * A precompiled header (PCH) file created during the build process. */ class PchFile extends @pch { + /** + * Gets a textual representation of this element. + */ string toString() { result = "PCH for " + this.getHeaderFile() } /**