From 46c44b4dc0686e9751a9f63ce9fa6dcb369c671a Mon Sep 17 00:00:00 2001 From: Jeroen Ketema Date: Fri, 5 Apr 2024 19:37:45 +0200 Subject: [PATCH] C++: Update QLDoc of `IRDeclarationEntry` to reflect current reality --- .../cpp/ir/implementation/raw/internal/TranslatedElement.qll | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cpp/ql/lib/semmle/code/cpp/ir/implementation/raw/internal/TranslatedElement.qll b/cpp/ql/lib/semmle/code/cpp/ir/implementation/raw/internal/TranslatedElement.qll index d6ad6b8fde49..c02305dfc22f 100644 --- a/cpp/ql/lib/semmle/code/cpp/ir/implementation/raw/internal/TranslatedElement.qll +++ b/cpp/ql/lib/semmle/code/cpp/ir/implementation/raw/internal/TranslatedElement.qll @@ -506,8 +506,7 @@ private module IRDeclarationEntries { * An entity that represents a declaration entry in the database. * * This class exists to work around the fact that `DeclStmt`s in some cases - * do not have `DeclarationEntry`s. Currently, this is the case for: - * - `DeclStmt`s in template instantiations. + * do not have `DeclarationEntry`s in older databases. * * So instead, the IR works with `IRDeclarationEntry`s that synthesize missing * `DeclarationEntry`s when there is no result for `DeclStmt::getDeclarationEntry`.