Home | History | Annotate | Download | only in Sema

Lines Matching refs:Name

35     IdentifierInfo *Name;
57 /// using the given \arg Name for the record, if non-zero.
58 void push(IdentifierInfo *Name) {
59 PackStackEntry PSE = { Alignment, Name };
64 /// alignment to the previous value. If \arg Name is non-zero then
67 bool pop(IdentifierInfo *Name, bool IsReset);
71 bool PragmaPackStack::pop(IdentifierInfo *Name, bool IsReset) {
72 // If name is empty just pop top.
73 if (!Name) {
97 if (Stack[i].Name == Name) {
190 void Sema::ActOnPragmaPack(PragmaPackKind Kind, IdentifierInfo *Name,
238 Context->push(Name);
247 if (Alignment && Name)
251 if (!Context->pop(Name, /*IsReset=*/false)) {
252 // If a name was specified then failure indicates the name
256 << "pack" << (Name ? "no record matching name" : "stack empty");
291 void Sema::ActOnPragmaDetectMismatch(StringRef Name, StringRef Value) {
293 Consumer.HandleDetectMismatch(Name, Value);
449 IdentifierInfo *Name = IdTok.getIdentifierInfo();
450 LookupResult Lookup(*this, Name, IdTok.getLocation(), LookupOrdinaryName);
455 << Name << SourceRange(IdTok.getLocation());
462 << Name << SourceRange(IdTok.getLocation());
468 Diag(PragmaLoc, diag::warn_used_but_marked_unused) << Name;