clang API Documentation
This file implements parsing of all OpenMP directives and clauses. More...
#include "RAIIObjectsForParser.h"
#include "clang/AST/ASTConsumer.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/StmtOpenMP.h"
#include "clang/Parse/ParseDiagnostic.h"
#include "clang/Parse/Parser.h"
#include "clang/Sema/Scope.h"
#include "llvm/ADT/PointerIntPair.h"
Go to the source code of this file.
Functions | |
static OpenMPDirectiveKind | ParseOpenMPDirectiveKind (Parser &P) |
static bool | ParseReductionId (Parser &P, CXXScopeSpec &ReductionIdScopeSpec, UnqualifiedId &ReductionId) |
This file implements parsing of all OpenMP directives and clauses.
Definition in file ParseOpenMP.cpp.
static OpenMPDirectiveKind ParseOpenMPDirectiveKind | ( | Parser & | P | ) | [static] |
Definition at line 28 of file ParseOpenMP.cpp.
References clang::Parser::ConsumeToken(), clang::Parser::getCurToken(), clang::getOpenMPDirectiveKind(), clang::Parser::getPreprocessor(), clang::Preprocessor::getSpelling(), clang::Token::isAnnotation(), and clang::Preprocessor::LookAhead().
static bool ParseReductionId | ( | Parser & | P, |
CXXScopeSpec & | ReductionIdScopeSpec, | ||
UnqualifiedId & | ReductionId | ||
) | [static] |
Definition at line 610 of file ParseOpenMP.cpp.
References clang::Parser::ConsumeToken(), clang::Parser::getCurToken(), clang::Token::getKind(), clang::CXXScopeSpec::isEmpty(), clang::OO_None, clang::Parser::ParseUnqualifiedId(), and clang::UnqualifiedId::setOperatorFunctionId().