37 lines · plain
1static_library("Format") {2 output_name = "clangFormat"3 configs += [ "//llvm/utils/gn/build:clang_code" ]4 deps = [5 "//clang/lib/Basic",6 "//clang/lib/Lex",7 "//clang/lib/Tooling/Core",8 "//clang/lib/Tooling/Inclusions",9 "//llvm/lib/Support",10 ]11 sources = [12 "AffectedRangeManager.cpp",13 "BreakableToken.cpp",14 "ContinuationIndenter.cpp",15 "DefinitionBlockSeparator.cpp",16 "Format.cpp",17 "FormatToken.cpp",18 "FormatTokenLexer.cpp",19 "IntegerLiteralSeparatorFixer.cpp",20 "MacroCallReconstructor.cpp",21 "MacroExpander.cpp",22 "MatchFilePath.cpp",23 "NamespaceEndCommentsFixer.cpp",24 "NumericLiteralCaseFixer.cpp",25 "NumericLiteralInfo.cpp",26 "ObjCPropertyAttributeOrderFixer.cpp",27 "QualifierAlignmentFixer.cpp",28 "SortJavaScriptImports.cpp",29 "TokenAnalyzer.cpp",30 "TokenAnnotator.cpp",31 "UnwrappedLineFormatter.cpp",32 "UnwrappedLineParser.cpp",33 "UsingDeclarationsSorter.cpp",34 "WhitespaceManager.cpp",35 ]36}37