[PATCH] Replace OwningPtr with std::unique_ptr.

Ahmed Charles acharles at outlook.com
Fri Mar 7 04:03:24 PST 2014


  clang-format

Hi chandlerc, dblaikie,

http://llvm-reviews.chandlerc.com/D3003

CHANGE SINCE LAST DIFF
  http://llvm-reviews.chandlerc.com/D3003?vs=7633&id=7637#toc

Files:
  include/clang/ARCMigrate/FileRemapper.h
  include/clang/AST/ASTContext.h
  include/clang/ASTMatchers/Dynamic/VariantValue.h
  include/clang/Analysis/AnalysisContext.h
  include/clang/Basic/FileManager.h
  include/clang/Basic/FileSystemStatCache.h
  include/clang/Basic/SourceManager.h
  include/clang/Basic/VirtualFileSystem.h
  include/clang/CodeGen/CodeGenAction.h
  include/clang/Driver/Job.h
  include/clang/Driver/ToolChain.h
  include/clang/Frontend/ASTUnit.h
  include/clang/Frontend/ChainedDiagnosticConsumer.h
  include/clang/Frontend/CompilerInstance.h
  include/clang/Frontend/FrontendAction.h
  include/clang/Frontend/MultiplexConsumer.h
  include/clang/Frontend/TextDiagnosticPrinter.h
  include/clang/Frontend/VerifyDiagnosticConsumer.h
  include/clang/Lex/HeaderSearch.h
  include/clang/Lex/Preprocessor.h
  include/clang/Parse/Parser.h
  include/clang/Rewrite/Core/TokenRewriter.h
  include/clang/Rewrite/Frontend/FrontendActions.h
  include/clang/Sema/Sema.h
  include/clang/Serialization/ASTReader.h
  include/clang/Serialization/GlobalModuleIndex.h
  include/clang/Serialization/Module.h
  include/clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h
  include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h
  include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h
  include/clang/Tooling/CommonOptionsParser.h
  include/clang/Tooling/CompilationDatabase.h
  include/clang/Tooling/FileMatchTrie.h
  include/clang/Tooling/JSONCompilationDatabase.h
  lib/ARCMigrate/ARCMT.cpp
  lib/ARCMigrate/FileRemapper.cpp
  lib/ARCMigrate/ObjCMT.cpp
  lib/ARCMigrate/TransRetainReleaseDealloc.cpp
  lib/ARCMigrate/TransUnbridgedCasts.cpp
  lib/AST/Expr.cpp
  lib/Analysis/CFG.cpp
  lib/Analysis/Consumed.cpp
  lib/Basic/FileManager.cpp
  lib/Basic/FileSystemStatCache.cpp
  lib/Basic/Targets.cpp
  lib/Basic/VirtualFileSystem.cpp
  lib/CodeGen/BackendUtil.cpp
  lib/CodeGen/CGBlocks.cpp
  lib/CodeGen/CGCXXABI.h
  lib/CodeGen/CGVTables.cpp
  lib/CodeGen/CodeGenAction.cpp
  lib/CodeGen/CodeGenModule.h
  lib/CodeGen/CodeGenPGO.h
  lib/CodeGen/ModuleBuilder.cpp
  lib/Driver/Driver.cpp
  lib/Driver/SanitizerArgs.cpp
  lib/Driver/ToolChains.cpp
  lib/Driver/ToolChains.h
  lib/Format/ContinuationIndenter.cpp
  lib/Format/Format.cpp
  lib/Format/FormatToken.h
  lib/Format/UnwrappedLineParser.h
  lib/Frontend/ASTUnit.cpp
  lib/Frontend/ChainedIncludesSource.cpp
  lib/Frontend/CompilerInstance.cpp
  lib/Frontend/CompilerInvocation.cpp
  lib/Frontend/CreateInvocationFromCommandLine.cpp
  lib/Frontend/FrontendAction.cpp
  lib/Frontend/FrontendActions.cpp
  lib/Frontend/MultiplexConsumer.cpp
  lib/Frontend/SerializedDiagnosticPrinter.cpp
  lib/FrontendTool/ExecuteCompilerInvocation.cpp
  lib/Lex/HeaderMap.cpp
  lib/Lex/PTHLexer.cpp
  lib/Parse/ParseAST.cpp
  lib/Parse/ParseDecl.cpp
  lib/Parse/ParseStmt.cpp
  lib/Rewrite/Core/Rewriter.cpp
  lib/Rewrite/Frontend/FixItRewriter.cpp
  lib/Rewrite/Frontend/FrontendActions.cpp
  lib/Sema/SemaLookup.cpp
  lib/Sema/SemaObjCProperty.cpp
  lib/Serialization/ASTReader.cpp
  lib/Serialization/GlobalModuleIndex.cpp
  lib/StaticAnalyzer/Checkers/ArrayBoundChecker.cpp
  lib/StaticAnalyzer/Checkers/ArrayBoundCheckerV2.cpp
  lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp
  lib/StaticAnalyzer/Checkers/BoolAssignmentChecker.cpp
  lib/StaticAnalyzer/Checkers/CStringChecker.cpp
  lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp
  lib/StaticAnalyzer/Checkers/CastSizeChecker.cpp
  lib/StaticAnalyzer/Checkers/CastToStructChecker.cpp
  lib/StaticAnalyzer/Checkers/ChrootChecker.cpp
  lib/StaticAnalyzer/Checkers/DeadStoresChecker.cpp
  lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp
  lib/StaticAnalyzer/Checkers/DivZeroChecker.cpp
  lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp
  lib/StaticAnalyzer/Checkers/FixedAddressChecker.cpp
  lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp
  lib/StaticAnalyzer/Checkers/MacOSKeychainAPIChecker.cpp
  lib/StaticAnalyzer/Checkers/MacOSXAPIChecker.cpp
  lib/StaticAnalyzer/Checkers/MallocChecker.cpp
  lib/StaticAnalyzer/Checkers/NSAutoreleasePoolChecker.cpp
  lib/StaticAnalyzer/Checkers/NonNullParamChecker.cpp
  lib/StaticAnalyzer/Checkers/ObjCAtSyncChecker.cpp
  lib/StaticAnalyzer/Checkers/ObjCContainersChecker.cpp
  lib/StaticAnalyzer/Checkers/PointerArithChecker.cpp
  lib/StaticAnalyzer/Checkers/PointerSubChecker.cpp
  lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp
  lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp
  lib/StaticAnalyzer/Checkers/ReturnPointerRangeChecker.cpp
  lib/StaticAnalyzer/Checkers/ReturnUndefChecker.cpp
  lib/StaticAnalyzer/Checkers/SimpleStreamChecker.cpp
  lib/StaticAnalyzer/Checkers/StackAddrEscapeChecker.cpp
  lib/StaticAnalyzer/Checkers/StreamChecker.cpp
  lib/StaticAnalyzer/Checkers/TaintTesterChecker.cpp
  lib/StaticAnalyzer/Checkers/UndefBranchChecker.cpp
  lib/StaticAnalyzer/Checkers/UndefCapturedBlockVarChecker.cpp
  lib/StaticAnalyzer/Checkers/UndefResultChecker.cpp
  lib/StaticAnalyzer/Checkers/UndefinedArraySubscriptChecker.cpp
  lib/StaticAnalyzer/Checkers/UndefinedAssignmentChecker.cpp
  lib/StaticAnalyzer/Checkers/UnixAPIChecker.cpp
  lib/StaticAnalyzer/Checkers/VLASizeChecker.cpp
  lib/StaticAnalyzer/Core/BugReporter.cpp
  lib/StaticAnalyzer/Core/ExprEngine.cpp
  lib/StaticAnalyzer/Core/PathDiagnostic.cpp
  lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp
  lib/StaticAnalyzer/Frontend/CheckerRegistration.cpp
  lib/Tooling/CompilationDatabase.cpp
  lib/Tooling/JSONCompilationDatabase.cpp
  lib/Tooling/Tooling.cpp
  tools/arcmt-test/arcmt-test.cpp
  tools/clang-check/ClangCheck.cpp
  tools/clang-format/ClangFormat.cpp
  tools/diagtool/ShowEnabledWarnings.cpp
  tools/driver/cc1_main.cpp
  tools/driver/cc1as_main.cpp
  tools/driver/driver.cpp
  tools/libclang/ARCMigrate.cpp
  tools/libclang/CIndex.cpp
  tools/libclang/CXLoadedDiagnostic.cpp
  tools/libclang/Indexing.cpp
  unittests/AST/DeclPrinterTest.cpp
  unittests/AST/DeclTest.cpp
  unittests/AST/MatchVerifier.h
  unittests/AST/StmtPrinterTest.cpp
  unittests/ASTMatchers/ASTMatchersTest.cpp
  unittests/ASTMatchers/ASTMatchersTest.h
  unittests/ASTMatchers/Dynamic/RegistryTest.cpp
  unittests/Basic/VirtualFileSystemTest.cpp
  unittests/Sema/ExternalSemaSourceTest.cpp
  unittests/Tooling/CompilationDatabaseTest.cpp
  unittests/Tooling/RefactoringCallbacksTest.cpp
  unittests/Tooling/ToolingTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3003.2.patch
Type: text/x-patch
Size: 155355 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140307/c313b1e0/attachment.bin>


More information about the cfe-commits mailing list