Home
last modified time | relevance | path

Searched refs:FileStyle (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DIdentifierNamingCheck.h69 struct FileStyle { struct
70 FileStyle() : IsActive(false), IgnoreMainLikeFunctions(false) {} in FileStyle() argument
71 FileStyle(SmallVectorImpl<Optional<NamingStyle>> &&Styles, in FileStyle() argument
99 const FileStyle &getStyleForFile(StringRef FileName) const; argument
103 mutable llvm::StringMap<FileStyle> NamingStylesCache;
104 FileStyle *MainFileStyle;
DIdentifierNamingCheck.cpp140 static IdentifierNamingCheck::FileStyle
732 const FileStyle &FileStyle = getStyleForFile(SM.getFilename(Loc)); in GetDeclFailureInfo() local
733 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 &