We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
getTraversalScope
ArrayRef
1 parent 2cdcca1 commit 43df94eCopy full SHA for 43df94e
clang/include/clang/AST/ASTContext.h
@@ -723,7 +723,7 @@ class ASTContext : public RefCountedBase<ASTContext> {
723
// (However they are still accessible via TranslationUnitDecl->decls())
724
//
725
// Changing the scope clears the parent cache, which is expensive to rebuild.
726
- ArrayRef<Decl *> getTraversalScope() const { return TraversalScope; }
+ std::vector<Decl *> getTraversalScope() const { return TraversalScope; }
727
void setTraversalScope(const std::vector<Decl *> &);
728
729
/// Forwards to get node parents from the ParentMapContext. New callers should
0 commit comments