Searched refs:StyleName (Results 1 - 2 of 2) sorted by relevance

/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Format/
H A DFormat.h370 /// \brief Construct a FormatStyle based on \c StyleName.
372 /// \c StyleName can take several forms:
380 /// \param[in] StyleName Style name to interpret according to the description
382 /// \param[in] FileName Path to start search for .clang-format if \c StyleName
385 /// \returns FormatStyle as specified by \c StyleName. If no style could be
387 FormatStyle getStyle(StringRef StyleName, StringRef FileName);
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Format/
H A DFormat.cpp91 StringRef StyleName(Styles[i]);
93 if (clang::format::getPredefinedStyle(StyleName, &PredefinedStyle) &&
95 IO.mapOptional("# BasedOnStyle", StyleName);
1410 FormatStyle getStyle(StringRef StyleName, StringRef FileName) { argument
1416 if (StyleName.startswith("{")) {
1418 if (llvm::error_code ec = parseConfiguration(StyleName, &Style)) {
1425 if (!StyleName.equals_lower("file")) {
1426 if (!getPredefinedStyle(StyleName, &Style))

Completed in 188 milliseconds