clang 22.0.0git
|
#include "clang/AST/NestedNameSpecifier.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/Decl.h"
#include "clang/AST/DeclCXX.h"
#include "clang/AST/DependenceFlags.h"
#include "clang/AST/PrettyPrinter.h"
#include "clang/AST/TemplateName.h"
#include "clang/AST/Type.h"
#include "clang/AST/TypeLoc.h"
#include "clang/Basic/LLVM.h"
#include "clang/Basic/LangOptions.h"
#include "clang/Basic/SourceLocation.h"
#include "llvm/ADT/FoldingSet.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/raw_ostream.h"
#include <algorithm>
#include <cassert>
#include <cstdlib>
#include <cstring>
Go to the source code of this file.
Functions | |
static void | Append (char *Start, char *End, char *&Buffer, unsigned &BufferSize, unsigned &BufferCapacity) |
static void | SaveSourceLocation (SourceLocation Loc, char *&Buffer, unsigned &BufferSize, unsigned &BufferCapacity) |
Save a source location to the given buffer. | |
static void | SavePointer (void *Ptr, char *&Buffer, unsigned &BufferSize, unsigned &BufferCapacity) |
Save a pointer to the given buffer. |
|
static |
Definition at line 151 of file NestedNameSpecifier.cpp.
References memcpy().
Referenced by clang::driver::RocmInstallationDetector::detectHIPRuntime(), clang::NestedNameSpecifierLocBuilder::NestedNameSpecifierLocBuilder(), clang::NestedNameSpecifierLocBuilder::operator=(), SavePointer(), and SaveSourceLocation().
|
static |
Save a pointer to the given buffer.
Definition at line 186 of file NestedNameSpecifier.cpp.
References Append().
Referenced by clang::NestedNameSpecifierLocBuilder::Make().
|
static |
Save a source location to the given buffer.
Definition at line 177 of file NestedNameSpecifier.cpp.
References Append(), and clang::SourceLocation::getRawEncoding().
Referenced by clang::NestedNameSpecifierLocBuilder::Extend(), clang::NestedNameSpecifierLocBuilder::Make(), clang::NestedNameSpecifierLocBuilder::MakeGlobal(), and clang::NestedNameSpecifierLocBuilder::MakeMicrosoftSuper().