Skip to content

Commit 49574d8

Browse files
author
Dimitri Ratz
committed
Docu update
1 parent f29267e commit 49574d8

File tree

1 file changed

+4
-0
lines changed
  • clang-tools-extra/clangd

1 file changed

+4
-0
lines changed

clang-tools-extra/clangd/AST.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,9 +182,13 @@ bool isConst(const Decl *D);
182182
// This is confusing, and maybe we should use another name, but because "static"
183183
// is a standard LSP modifier, having one with that name has advantages.
184184
bool isStatic(const Decl *D);
185+
// Indicates whether declaration D is abstract in cases where D is a struct or a class.
185186
bool isAbstract(const Decl *D);
187+
// Indicates whether declaration D is virtual in cases where D is a method.
186188
bool isVirtual(const Decl *D);
189+
// Indicates whether declaration D is final in cases where D is a struct, class or method.
187190
bool isFinal(const Decl *D);
191+
// Indicates whether declaration D is a unique definition (as opposed to a declaration).
188192
bool isUniqueDefinition(const NamedDecl *Decl);
189193
/// Returns a nested name specifier loc of \p ND if it was present in the
190194
/// source, e.g.

0 commit comments

Comments
 (0)