Searched refs:Prefix (Results 26 - 50 of 141) sorted by path

123456

/external/clang/lib/AST/
H A DMicrosoftMangle.cpp222 void mangle(const NamedDecl *D, StringRef Prefix = "\01?");
346 void MicrosoftCXXNameMangler::mangle(const NamedDecl *D, StringRef Prefix) { argument
354 Out << Prefix; local
H A DNestedNameSpecifier.cpp47 NestedNameSpecifier *Prefix, IdentifierInfo *II) {
49 assert((!Prefix || Prefix->isDependent()) && "Prefix must be dependent");
52 Mockup.Prefix.setPointer(Prefix);
53 Mockup.Prefix.setInt(StoredIdentifier);
60 NestedNameSpecifier *Prefix,
63 assert((!Prefix ||
64 (Prefix
46 Create(const ASTContext &Context, NestedNameSpecifier *Prefix, IdentifierInfo *II) argument
59 Create(const ASTContext &Context, NestedNameSpecifier *Prefix, const NamespaceDecl *NS) argument
75 Create(const ASTContext &Context, NestedNameSpecifier *Prefix, NamespaceAliasDecl *Alias) argument
91 Create(const ASTContext &Context, NestedNameSpecifier *Prefix, bool Template, const Type *T) argument
[all...]
/external/clang/lib/ASTMatchers/Dynamic/
H A DDiagnostics.cpp168 const Twine Prefix, llvm::raw_ostream &OS) {
170 OS << Prefix; local
167 printMessageToStream(const Diagnostics::ErrorContent::Message &Message, const Twine Prefix, llvm::raw_ostream &OS) argument
/external/clang/lib/Analysis/
H A DCocoaConventions.cpp25 bool cocoa::isRefType(QualType RetTy, StringRef Prefix, argument
30 if (TDName.startswith(Prefix) && TDName.endswith("Ref"))
47 return Name.startswith(Prefix);
/external/clang/lib/Basic/
H A DWarnings.cpp34 StringRef Prefix, StringRef Opt,
40 << (Prefix.str() += Opt) << (Prefix.str() += Suggestion);
44 << (Prefix.str() += Opt);
33 EmitUnknownDiagWarning(DiagnosticsEngine &Diags, StringRef Prefix, StringRef Opt, bool isPositive) argument
/external/clang/lib/CodeGen/
H A DCGBuiltin.cpp1602 if (const char *Prefix =
1604 IntrinsicID = Intrinsic::getIntrinsicForGCCBuiltin(Prefix, Name);
1609 IntrinsicID = Intrinsic::getIntrinsicForMSBuiltin(Prefix, Name);
H A DCGObjCMac.cpp5958 const char *Prefix = "\01l_OBJC_$_CATEGORY_"; local
5959 std::string ExtCatName(Prefix + Interface->getNameAsString()+
5972 std::string MethodListName(Prefix);
5984 MethodListName = Prefix;
6193 const char *Prefix = "\01l_OBJC_$_INSTANCE_VARIABLES_"; local
6198 Prefix + OID->getName());
/external/clang/lib/Driver/
H A DDriver.cpp1845 std::string Driver::GetTemporaryPath(StringRef Prefix, const char *Suffix) argument
1848 std::error_code EC = llvm::sys::fs::createTemporaryFile(Prefix, Suffix, Path);
H A DToolChains.cpp3308 StringRef Prefix = llvm::sys::path::is_absolute(dir) ? SysRoot : ""; local
3309 addExternCSystemInclude(DriverArgs, CC1Args, Prefix + dir);
/external/clang/lib/Format/
H A DBreakableToken.cpp138 return StartColumn + Prefix.size() + Postfix.size() +
140 StartColumn + Prefix.size(),
146 StringRef Prefix, StringRef Postfix, bool InPPDirective,
149 StartColumn(StartColumn), Prefix(Prefix), Postfix(Postfix) {
152 Prefix.size(), Tok.TokenText.size() - Prefix.size() - Postfix.size());
157 StringRef Prefix, StringRef Postfix, bool InPPDirective,
159 : BreakableSingleLineToken(Tok, IndentLevel, StartColumn, Prefix, Postfix,
166 StartColumn + Prefix
144 BreakableSingleLineToken( const FormatToken &Tok, unsigned IndentLevel, unsigned StartColumn, StringRef Prefix, StringRef Postfix, bool InPPDirective, encoding::Encoding Encoding, const FormatStyle &Style) argument
155 BreakableStringLiteral( const FormatToken &Tok, unsigned IndentLevel, unsigned StartColumn, StringRef Prefix, StringRef Postfix, bool InPPDirective, encoding::Encoding Encoding, const FormatStyle &Style) argument
381 StringRef Prefix = Decoration; local
[all...]
H A DBreakableToken.h99 unsigned StartColumn, StringRef Prefix,
107 StringRef Prefix; member in class:clang::format::BreakableSingleLineToken
121 unsigned StartColumn, StringRef Prefix,
H A DContinuationIndenter.cpp917 static bool getRawStringLiteralPrefixPostfix(StringRef Text, StringRef &Prefix, argument
919 if (Text.startswith(Prefix = "R\"") || Text.startswith(Prefix = "uR\"") ||
920 Text.startswith(Prefix = "UR\"") || Text.startswith(Prefix = "u8R\"") ||
921 Text.startswith(Prefix = "LR\"")) {
925 Text.substr(Prefix.size(), ParenPos - Prefix.size());
926 Prefix = Text.substr(0, ParenPos + 1);
968 StringRef Prefix; local
[all...]
H A DUnwrappedLineParser.cpp1454 StringRef Prefix = "") {
1455 llvm::dbgs() << Prefix << "Line(" << Line.Level << ")"
/external/clang/lib/Frontend/
H A DCompilerInvocation.cpp1025 StringRef Prefix = ""; // FIXME: This isn't the correct default prefix. local
1031 Prefix = A->getValue();
1033 Opts.AddPath(Prefix.str() + A->getValue(),
1036 Opts.AddPath(Prefix.str() + A->getValue(),
H A DInitHeaderSearch.cpp67 void AddSystemHeaderPrefix(StringRef Prefix, bool IsSystemHeader) { argument
68 SystemHeaderPrefixes.push_back(std::make_pair(Prefix, IsSystemHeader));
701 Init.AddSystemHeaderPrefix(HSOpts.SystemHeaderPrefixes[i].Prefix,
H A DInitPreprocessor.cpp131 static void DefineFloatMacros(MacroBuilder &Builder, StringRef Prefix, argument
159 DefPrefix += Prefix;
226 const char *Prefix = IsSigned ? "__INT" : "__UINT"; local
228 DefineType(Prefix + Twine(TypeWidth) + "_TYPE__", Ty, Builder);
232 Builder.defineMacro(Prefix + Twine(TypeWidth) + "_C_SUFFIX__", ConstSuffix);
247 const char *Prefix = IsSigned ? "__INT" : "__UINT"; local
248 DefineTypeSize(Prefix + Twine(TypeWidth) + "_MAX__", Ty, TI, Builder);
258 const char *Prefix = IsSigned ? "__INT_LEAST" : "__UINT_LEAST"; local
259 DefineType(Prefix + Twine(TypeWidth) + "_TYPE__", Ty, Builder);
260 DefineTypeSize(Prefix
271 const char *Prefix = IsSigned ? "__INT_FAST" : "__UINT_FAST"; local
[all...]
H A DPrintPreprocessedOutput.cpp563 const char *Prefix; member in struct:__anon17928::UnknownPragmaHandler
567 : Prefix(prefix), Callbacks(callbacks) {}
574 Callbacks->OS.write(Prefix, strlen(Prefix));
H A DTextDiagnosticPrinter.cpp131 if (!Prefix.empty())
132 OS << Prefix << ": "; local
/external/clang/lib/Lex/
H A DHeaderMap.cpp40 uint32_t Prefix; // Offset (into strings) of value prefix. member in struct:clang::HMapBucket
148 Result.Prefix = 0;
155 Result.Prefix = getEndianAdjustedWord(BucketPtr->Prefix);
194 const char *Prefix = getString(B.Prefix); local
196 fprintf(stderr, " %d. %s -> '%s' '%s'\n", i, Key, Prefix, Suffix);
234 StringRef Prefix = getString(B.Prefix); local
237 DestPath.append(Prefix
[all...]
H A DLexer.cpp1822 const char *Prefix = CurPtr; local
1830 if (strncmp(CurPtr, Prefix, PrefixLen) == 0 && CurPtr[PrefixLen] == '"') {
1837 << StringRef(Prefix, PrefixLen);
H A DLiteralSupport.cpp1416 const char *Prefix = ThisTokBuf;
1422 ThisTokEnd -= ThisTokBuf - Prefix;
/external/clang/lib/Sema/
H A DSemaExprCXX.cpp147 NestedNameSpecifier *Prefix = nullptr; local
150 } else if (LookAtPrefix && (Prefix = NNS->getPrefix())) {
152 PrefixSS.Adopt(NestedNameSpecifierLoc(Prefix, SS.location_data()));
H A DSemaLookup.cpp3289 if (NestedNameSpecifier *Prefix = NNS->getPrefix())
3290 getNestedNameSpecifierIdentifiers(Prefix, Identifiers);
/external/clang/lib/Serialization/
H A DASTReader.cpp4644 std::string Prefix = ReadString(Record, Idx); local
4647 HeaderSearchOptions::SystemHeaderPrefix(Prefix, IsSystemHeader));
H A DASTWriter.cpp1193 AddString(HSOpts.SystemHeaderPrefixes[I].Prefix, Record);

Completed in 562 milliseconds

123456