Lines Matching full:astcontext
15 #include "clang/AST/ASTContext.h"
568 int SectionFlags = ASTContext::PSF_Read;
585 ASTContext::PragmaSectionFlag Flag =
586 llvm::StringSwitch<ASTContext::PragmaSectionFlag>(
588 .Case("read", ASTContext::PSF_Read)
589 .Case("write", ASTContext::PSF_Write)
590 .Case("execute", ASTContext::PSF_Execute)
591 .Case("shared", ASTContext::PSF_Invalid)
592 .Case("nopage", ASTContext::PSF_Invalid)
593 .Case("nocache", ASTContext::PSF_Invalid)
594 .Case("discard", ASTContext::PSF_Invalid)
595 .Case("remove", ASTContext::PSF_Invalid)
596 .Default(ASTContext::PSF_None);
597 if (Flag == ASTContext::PSF_None || Flag == ASTContext::PSF_Invalid) {
598 PP.Diag(PragmaLocation, Flag == ASTContext::PSF_None
611 SectionFlags |= ASTContext::PSF_Write;