clang  6.0.0svn
Functions
ParseInit.cpp File Reference
#include "clang/Parse/ParseDiagnostic.h"
#include "clang/Parse/Parser.h"
#include "clang/Parse/RAIIObjectsForParser.h"
#include "clang/Sema/Designator.h"
#include "clang/Sema/Scope.h"
#include "llvm/ADT/SmallString.h"
Include dependency graph for ParseInit.cpp:

Go to the source code of this file.

Functions

static void CheckArrayDesignatorSyntax (Parser &P, SourceLocation Loc, Designation &Desig)
 

Function Documentation

◆ CheckArrayDesignatorSyntax()

static void CheckArrayDesignatorSyntax ( Parser P,
SourceLocation  Loc,
Designation Desig 
)
static

Definition at line 93 of file ParseInit.cpp.

References clang::Sema::ActOnDesignatedInitializer(), clang::Sema::ActOnInitList(), clang::Sema::ActOnPackExpansion(), clang::Designation::AddDesignator(), ColonLoc, clang::BalancedDelimiterTracker::consumeClose(), clang::BalancedDelimiterTracker::consumeOpen(), clang::Parser::ConsumeToken(), clang::Sema::CorrectDelayedTyposInExpr(), clang::frontend::CPlusPlus, clang::FixItHint::CreateInsertion(), clang::FixItHint::CreateReplacement(), clang::Parser::Diag(), clang::Designation::empty(), clang::ExprError(), clang::ActionResult< PtrTy, CompressInvalid >::get(), clang::Designator::getArray(), clang::Designator::getArrayRange(), clang::BalancedDelimiterTracker::getCloseLocation(), clang::Parser::getCurScope(), clang::Designation::getDesignator(), clang::Designator::getField(), clang::OpaquePtr< QualType >::getFromOpaquePtr(), clang::Token::getIdentifierInfo(), clang::Parser::getLangOpts(), clang::Token::getLocation(), clang::IdentifierInfo::getName(), clang::Designation::getNumDesignators(), clang::Sema::getObjCMessageKind(), clang::BalancedDelimiterTracker::getOpenLocation(), clang::EnterExpressionEvaluationContext::InitList, clang::Token::is(), clang::Designator::isArrayDesignator(), clang::Designator::isArrayRangeDesignator(), clang::Scope::isInObjcMethodScope(), clang::ActionResult< PtrTy, CompressInvalid >::isInvalid(), clang::Token::isNot(), clang::ActionResult< PtrTy, CompressInvalid >::isUsable(), clang::Parser::NextToken(), clang::None, clang::Sema::ObjCClassMessage, clang::Sema::ObjCInstanceMessage, clang::Sema::ObjCSuperMessage, clang::Parser::ParseAssignmentExpression(), clang::Parser::ParseConstantExpression(), clang::Result, clang::BalancedDelimiterTracker::skipToEnd(), clang::Parser::SkipUntil(), clang::Parser::StopAtSemi, clang::Parser::StopBeforeMatch, and clang::T.