14#ifndef LLVM_CLANG_BASIC_ATTRIBUTESCOPEINFO_H
15#define LLVM_CLANG_BASIC_ATTRIBUTESCOPEINFO_H
28 : Name(Name), NameLoc(NameLoc) {}
32 : Name(Name), NameLoc(NameLoc), CommonScopeLoc(CommonScopeLoc) {}
37 bool isValid()
const {
return Name !=
nullptr; }
Defines the clang::SourceLocation class and associated facilities.
SourceLocation getNameLoc() const
AttributeScopeInfo()=default
const IdentifierInfo * getName() const
AttributeScopeInfo(const IdentifierInfo *Name, SourceLocation NameLoc, SourceLocation CommonScopeLoc)
AttributeScopeInfo(const IdentifierInfo *Name, SourceLocation NameLoc)
One of these records is kept for each identifier that is lexed.
Encodes a location in the source.
The JSON file list parser is used to communicate input to InstallAPI.