[PATCH] D37903: Fix assume-filename handling in clang-format.el

Micah Werbitt via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 25 13:22:24 PDT 2017


werbitt updated this revision to Diff 116601.
werbitt added a comment.
Herald added subscribers: eraman, javed.absar, mgorny, jholewinski.

- The first line of of an emacs docstring should be a complete sentence.
- Specify that "-assume-filname" is a clang-format option


https://reviews.llvm.org/D37903

Files:
  bindings/python/clang/cindex.py
  bindings/python/tests/cindex/test_cursor.py
  bindings/python/tests/cindex/test_linkage.py
  docs/LibASTMatchersReference.html
  include/clang-c/Index.h
  include/clang/AST/ASTContext.h
  include/clang/AST/Decl.h
  include/clang/AST/DeclCXX.h
  include/clang/AST/Expr.h
  include/clang/AST/Type.h
  include/clang/ASTMatchers/ASTMatchers.h
  include/clang/Basic/AllDiagnostics.h
  include/clang/Basic/Attr.td
  include/clang/Basic/AttrDocs.td
  include/clang/Basic/BuiltinsNVPTX.def
  include/clang/Basic/CMakeLists.txt
  include/clang/Basic/Diagnostic.td
  include/clang/Basic/DiagnosticCrossTUKinds.td
  include/clang/Basic/DiagnosticGroups.td
  include/clang/Basic/DiagnosticIDs.h
  include/clang/Basic/DiagnosticSemaKinds.td
  include/clang/Basic/TargetInfo.h
  include/clang/CrossTU/CrossTUDiagnostic.h
  include/clang/CrossTU/CrossTranslationUnit.h
  include/clang/Frontend/PrecompiledPreamble.h
  include/clang/Lex/Lexer.h
  include/clang/Lex/PreprocessorOptions.h
  include/clang/Sema/Sema.h
  include/clang/Sema/SemaInternal.h
  include/clang/StaticAnalyzer/Checkers/Checkers.td
  lib/AST/ASTContext.cpp
  lib/AST/ASTDumper.cpp
  lib/AST/ASTImporter.cpp
  lib/AST/Decl.cpp
  lib/AST/Expr.cpp
  lib/AST/ExprClassification.cpp
  lib/AST/ItaniumMangle.cpp
  lib/AST/Linkage.h
  lib/AST/Stmt.cpp
  lib/AST/Type.cpp
  lib/AST/TypePrinter.cpp
  lib/Basic/DiagnosticIDs.cpp
  lib/Basic/Targets.cpp
  lib/Basic/Targets/X86.h
  lib/CMakeLists.txt
  lib/CodeGen/CGBlocks.cpp
  lib/CodeGen/CGCall.cpp
  lib/CodeGen/CGClass.cpp
  lib/CodeGen/CGExprScalar.cpp
  lib/CodeGen/CodeGenAction.cpp
  lib/CodeGen/CodeGenFunction.h
  lib/CodeGen/CodeGenModule.cpp
  lib/CrossTU/CMakeLists.txt
  lib/CrossTU/CrossTranslationUnit.cpp
  lib/Driver/ToolChains/CrossWindows.cpp
  lib/Driver/ToolChains/Cuda.cpp
  lib/Format/BreakableToken.cpp
  lib/Format/ContinuationIndenter.cpp
  lib/Format/Format.cpp
  lib/Format/FormatToken.cpp
  lib/Format/FormatToken.h
  lib/Format/FormatTokenLexer.cpp
  lib/Format/SortJavaScriptImports.cpp
  lib/Format/TokenAnalyzer.cpp
  lib/Format/TokenAnnotator.cpp
  lib/Format/UnwrappedLineFormatter.cpp
  lib/Format/UnwrappedLineFormatter.h
  lib/Format/UnwrappedLineParser.cpp
  lib/Format/UnwrappedLineParser.h
  lib/Format/UsingDeclarationsSorter.cpp
  lib/Format/WhitespaceManager.cpp
  lib/Frontend/FrontendActions.cpp
  lib/Frontend/PrecompiledPreamble.cpp
  lib/Headers/__clang_cuda_intrinsics.h
  lib/Index/CodegenNameGenerator.cpp
  lib/Lex/Lexer.cpp
  lib/Lex/Preprocessor.cpp
  lib/Parse/ParseDecl.cpp
  lib/Sema/Sema.cpp
  lib/Sema/SemaChecking.cpp
  lib/Sema/SemaCodeComplete.cpp
  lib/Sema/SemaDecl.cpp
  lib/Sema/SemaDeclAttr.cpp
  lib/Sema/SemaDeclCXX.cpp
  lib/Sema/SemaDeclObjC.cpp
  lib/Sema/SemaExpr.cpp
  lib/Sema/SemaLambda.cpp
  lib/Sema/SemaOpenMP.cpp
  lib/Sema/SemaOverload.cpp
  lib/Sema/SemaTemplateInstantiate.cpp
  lib/Sema/SemaTemplateInstantiateDecl.cpp
  lib/Sema/SemaType.cpp
  lib/Sema/TreeTransform.h
  lib/StaticAnalyzer/Checkers/CMakeLists.txt
  lib/StaticAnalyzer/Checkers/DeleteWithNonVirtualDtorChecker.cpp
  lib/StaticAnalyzer/Checkers/VirtualCallChecker.cpp
  lib/StaticAnalyzer/Core/CallEvent.cpp
  test/Analysis/DeleteWithNonVirtualDtor.cpp
  test/Analysis/func-mapping-test.cpp
  test/Analysis/malloc.mm
  test/Analysis/reference.cpp
  test/Analysis/retain-release.m
  test/Analysis/virtualcall.cpp
  test/CMakeLists.txt
  test/CXX/basic/basic.link/p8.cpp
  test/CXX/special/class.dtor/p5-implicit.cpp
  test/CodeGen/builtins-nvptx-ptx60.cu
  test/CodeGen/builtins-nvptx.c
  test/CodeGen/mangle-blocks.c
  test/CodeGen/nullptr-arithmetic.c
  test/CodeGenCXX/atomic-inline.cpp
  test/CodeGenCXX/debug-info-method.cpp
  test/CodeGenCXX/mangle-lambdas.cpp
  test/CodeGenCXX/mangle-ms-cxx11.cpp
  test/CodeGenCXX/mangle.cpp
  test/CodeGenCXX/noescape.cpp
  test/CodeGenCXX/sanitize-dtor-callback.cpp
  test/CodeGenObjC/local-static-block.m
  test/CodeGenObjC/mangle-blocks.m
  test/CodeGenObjC/noescape.m
  test/CoverageMapping/header.cpp
  test/Driver/target-override.c
  test/Driver/windows-cross.c
  test/FixIt/fixit-format-ios.m
  test/Frontend/float16.cpp
  test/Frontend/optimization-remark-extra-analysis.c
  test/Index/complete-access-checks.cpp
  test/Index/complete-cxx-inline-methods.cpp
  test/Index/complete-qualified.cpp
  test/Index/complete-with-annotations.cpp
  test/Index/print-objc-manglings.m
  test/Misc/ast-dump-attr.cpp
  test/Misc/ast-dump-decl.cpp
  test/Misc/ast-dump-invalid.cpp
  test/Misc/pragma-attribute-cxx-subject-match-rules.cpp
  test/Misc/pragma-attribute-cxx.cpp
  test/Misc/pragma-attribute-supported-attributes-list.test
  test/Modules/cxx-templates.cpp
  test/OpenMP/atomic_capture_codegen.cpp
  test/OpenMP/atomic_read_codegen.c
  test/OpenMP/atomic_update_codegen.cpp
  test/OpenMP/atomic_write_codegen.c
  test/OpenMP/ordered_messages.cpp
  test/OpenMP/target_codegen.cpp
  test/OpenMP/taskloop_firstprivate_messages.cpp
  test/OpenMP/taskloop_simd_firstprivate_messages.cpp
  test/PCH/cxx11-lambdas.mm
  test/Sema/assign.c
  test/Sema/compare.c
  test/Sema/enum.c
  test/Sema/noescape.c
  test/Sema/pointer-addition.c
  test/Sema/tautological-unsigned-enum-zero-compare.c
  test/Sema/tautological-unsigned-enum-zero-compare.cpp
  test/SemaCXX/cxx1z-init-statement-template.cpp
  test/SemaCXX/ms-interface.cpp
  test/SemaCXX/nullptr-arithmetic.cpp
  test/SemaCXX/vartemplate-lambda.cpp
  test/SemaCXX/warn-sign-conversion-cpp11.cpp
  test/SemaCXX/warn-unreachable.cpp
  test/SemaObjC/arc-nsconsumed-errors.m
  test/SemaObjCXX/noescape.mm
  test/SemaTemplate/crash-unparsed-exception.cpp
  test/SemaTemplate/default-arguments-cxx0x.cpp
  test/SemaTemplate/default-expr-arguments-3.cpp
  test/SemaTemplate/instantiate-static-var.cpp
  test/Unit/lit.cfg
  test/Unit/lit.cfg.py
  test/Unit/lit.site.cfg.in
  test/Unit/lit.site.cfg.py.in
  test/lit.cfg
  test/lit.cfg.py
  test/lit.site.cfg.in
  test/lit.site.cfg.py.in
  tools/CMakeLists.txt
  tools/c-index-test/c-index-test.c
  tools/clang-format-vs/ClangFormat/ClangFormatPackage.cs
  tools/clang-format/clang-format.el
  tools/clang-func-mapping/CMakeLists.txt
  tools/clang-func-mapping/ClangFnMapGen.cpp
  tools/diagtool/DiagnosticNames.cpp
  tools/driver/driver.cpp
  tools/libclang/CIndex.cpp
  tools/libclang/libclang.exports
  unittests/CMakeLists.txt
  unittests/CrossTU/CMakeLists.txt
  unittests/CrossTU/CrossTranslationUnitTest.cpp
  unittests/Format/FormatTest.cpp
  unittests/Format/UsingDeclarationsSorterTest.cpp
  unittests/Frontend/PCHPreambleTest.cpp
  utils/analyzer/CmpRuns.py
  utils/analyzer/SATestAdd.py
  utils/analyzer/SATestBuild.py
  utils/analyzer/SATestUpdateDiffs.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37903.116601.patch
Type: text/x-patch
Size: 449513 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170925/9abe4bac/attachment-0001.bin>


More information about the cfe-commits mailing list