clang  6.0.0svn
Functions
ParseDeclCXX.cpp File Reference
#include "clang/Parse/Parser.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/DeclTemplate.h"
#include "clang/Basic/Attributes.h"
#include "clang/Basic/CharInfo.h"
#include "clang/Basic/OperatorKinds.h"
#include "clang/Basic/TargetInfo.h"
#include "clang/Parse/ParseDiagnostic.h"
#include "clang/Parse/RAIIObjectsForParser.h"
#include "clang/Sema/DeclSpec.h"
#include "clang/Sema/ParsedTemplate.h"
#include "clang/Sema/PrettyDeclStackTrace.h"
#include "clang/Sema/Scope.h"
#include "clang/Sema/SemaDiagnostic.h"
#include "llvm/ADT/SmallString.h"
Include dependency graph for ParseDeclCXX.cpp:

Go to the source code of this file.

Functions

static void diagnoseDynamicExceptionSpecification (Parser &P, SourceRange Range, bool IsNoexcept)
 
static bool IsBuiltInOrStandardCXX11Attribute (IdentifierInfo *AttrName, IdentifierInfo *ScopeName)
 

Function Documentation

◆ diagnoseDynamicExceptionSpecification()

static void diagnoseDynamicExceptionSpecification ( Parser P,
SourceRange  Range,
bool  IsNoexcept 
)
static

◆ IsBuiltInOrStandardCXX11Attribute()

static bool IsBuiltInOrStandardCXX11Attribute ( IdentifierInfo AttrName,
IdentifierInfo ScopeName 
)
static

Definition at line 3819 of file ParseDeclCXX.cpp.

References clang::ParsedAttributes::addNew(), clang::AttributeList::AS_C2x, clang::AttributeList::AS_CXX11, clang::AttributeList::AS_Microsoft, clang::AS_none, clang::C, clang::Parser::ConsumeAnyToken(), clang::BalancedDelimiterTracker::consumeClose(), clang::BalancedDelimiterTracker::consumeOpen(), clang::Parser::ConsumeToken(), clang::FixItHint::CreateRemoval(), clang::CXX, clang::Parser::Diag(), clang::ActionResult< PtrTy, CompressInvalid >::get(), clang::BalancedDelimiterTracker::getCloseLocation(), clang::Token::getIdentifierInfo(), clang::AttributeList::getKind(), clang::Parser::getLangOpts(), clang::Token::getLength(), clang::ParsedAttributes::getList(), clang::Token::getLocation(), clang::AttributeList::getMaxArgs(), clang::IdentifierInfo::getName(), clang::Parser::getTargetInfo(), clang::hasAttribute(), clang::Token::hasLeadingSpace(), clang::Token::is(), clang::Token::isAtStartOfLine(), clang::ActionResult< PtrTy, CompressInvalid >::isInvalid(), clang::Token::isNot(), clang::Token::isOneOf(), clang::SourceLocation::isValid(), clang::Parser::NextToken(), clang::Result, clang::AttributeList::setInvalid(), clang::Token::setKind(), clang::Token::setLength(), clang::Token::setLiteralData(), clang::Token::setLocation(), clang::BalancedDelimiterTracker::skipToEnd(), clang::Parser::SkipUntil(), clang::Token::startToken(), clang::Parser::StopAtSemi, clang::Parser::StopBeforeMatch, clang::T, and clang::Parser::TryConsumeToken().