Skip to content

SageInterface::sortSgNodeListBasedOnAppearanceOrderInSource

Reorder a list of declaration statements based on their appearance order in source files

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

[[visibility]]
std::vector<SgDeclarationStatement*>
sortSgNodeListBasedOnAppearanceOrderInSource(std::vector<SgDeclarationStatement*> const& nodevec);

Return Value

A standard container which offers fixed time access to individual elements in any order.

Parameters

Name

Description

nodevec

A standard container which offers fixed time access to individual elements in any order.

Created with MrDocs