Searched refs:FileStyle (Results 1 – 2 of 2) sorted by relevance
69 struct FileStyle { struct70 FileStyle() : IsActive(false), IgnoreMainLikeFunctions(false) {} in FileStyle() argument71 FileStyle(SmallVectorImpl<Optional<NamingStyle>> &&Styles, in FileStyle() argument99 const FileStyle &getStyleForFile(StringRef FileName) const; argument103 mutable llvm::StringMap<FileStyle> NamingStylesCache;104 FileStyle *MainFileStyle;
140 static IdentifierNamingCheck::FileStyle732 const FileStyle &FileStyle = getStyleForFile(SM.getFilename(Loc)); in GetDeclFailureInfo() local733 if (!FileStyle.isActive()) in GetDeclFailureInfo()736 return getFailureInfo(Decl->getName(), Loc, FileStyle.getStyles(), in GetDeclFailureInfo()737 findStyleKind(Decl, FileStyle.getStyles(), in GetDeclFailureInfo()738 FileStyle.isIgnoringMainLikeFunction()), in GetDeclFailureInfo()746 const FileStyle &Style = getStyleForFile(SM.getFilename(Loc)); in GetMacroFailureInfo()764 const IdentifierNamingCheck::FileStyle &