Skip to content
  1. Aug 24, 2017
  2. Aug 22, 2017
  3. Aug 20, 2017
  4. Aug 19, 2017
  5. Aug 18, 2017
  6. Aug 15, 2017
  7. Aug 14, 2017
    • Alex Lorenz's avatar
      [rename] Introduce symbol occurrences · 44b94c7e
      Alex Lorenz authored
      Symbol occurrences store the results of local rename and will also be used for
      the global, indexed rename results. Their kind is used to determine whether they
      should be renamed automatically or not. They can be converted to a set of
      AtomicChanges as well.
      
      Differential Revision: https://reviews.llvm.org/D36156
      
      llvm-svn: 310853
      44b94c7e
  8. Aug 02, 2017
  9. Aug 01, 2017
  10. Jul 31, 2017
  11. Jul 21, 2017
  12. Jul 14, 2017
    • Sterling Augustine's avatar
      Prevent ClangTools from generating dependency files. · 78f46124
      Sterling Augustine authored
      D34304 created a way for ToolInvocations to conditionally generate
      dependency files, and updated call sites to preserve the old behavior
      of not generating them by default. CompilerInvocations...
      
      Summary:
      ...are yet another
      call-path that needs updating to preserve the old behavior.
      
      Reviewers: klimek, echristo
      
      Reviewed By: echristo
      
      Subscribers: echristo, cfe-commits
      
      Differential Revision: https://reviews.llvm.org/D35131
      
      llvm-svn: 308043
      78f46124
  13. Jul 13, 2017
    • Alex Lorenz's avatar
      [refactor][rename] Use a single base class for class that finds · 98394f83
      Alex Lorenz authored
      a declaration at location and for class that searches for all occurrences of
      a specific declaration
      
      This commit uses a single RecursiveSymbolVisitor class for both
      USRLocFindingASTVisitor and NamedDeclOccurrenceFindingVisitor to avoid duplicate
      traversal code. It also traverses nested name specifier locs in the new class
      and remove the separate matching step.
      
      Differential Revision: https://reviews.llvm.org/D34949
      
      llvm-svn: 307898
      98394f83
  14. Jul 07, 2017
  15. Jul 06, 2017
    • Sterling Augustine's avatar
      Allow CompilerInvocations to generate .d files. · 1cda1d76
      Sterling Augustine authored
      Summary:
      Most clang tools should ignore the -M
      family of options because one wouldn't want them
      to generate a new dependency (.d) file. However,
      some tools may want this dependency file. This
      patch creates a mechanism for them to do this.
      
      This implementation just plumbs a boolean down
      several layers of calls. Each of the modified calls
      has several call sites, and so a single member
      variable or new API entry point won't work.
      
      An alternative would be to write a function to filter
      the -M family of arguments out of CC1Args, and have
      each caller call that function by hand before calling
      newInvocation, Invocation::run, or buildAstFromCodeWithArgs.
      This is a more complicated and error-prone solution.
      Why burden all the callers to remember to use
      this function?
      
      But I could rewrite this patch to use that method if
      that is deemed more appropriate.
      
      Reviewers: klimek
      
      Reviewed By: klimek
      
      Subscribers: klimek, cfe-commits
      
      Differential Revision: https://reviews.llvm.org/D34304
      
      llvm-svn: 307315
      1cda1d76
  16. Jul 05, 2017
  17. Jun 30, 2017
    • Richard Smith's avatar
      Fix ODR violations due to abuse of LLVM_YAML_IS_(FLOW_)?SEQUENCE_VECTOR · 25639842
      Richard Smith authored
      This is a short-term fix for PR33650 aimed to get the modules build bots green again.
      
      Remove all the places where we use the LLVM_YAML_IS_(FLOW_)?SEQUENCE_VECTOR
      macros to try to locally specialize a global template for a global type. That's
      not how C++ works.
      
      Instead, we now centrally define how to format vectors of fundamental types and
      of string (std::string and StringRef). We use flow formatting for the former
      cases, since that's the obvious right thing to do; in the latter case, it's
      less clear what the right choice is, but flow formatting is really bad for some
      cases (due to very long strings), so we pick block formatting. (Many of the
      cases that were using flow formatting for strings are improved by this change.)
      
      Other than the flow -> block formatting change for some vectors of strings,
      this should result in no functionality change.
      
      Differential Revision: https://reviews.llvm.org/D34907
      
      Corresponding LLVM change is r306878.
      
      llvm-svn: 306881
      25639842
    • Alex Lorenz's avatar
      [refactor] Move clang-rename into the clang repository · 4abbd92b
      Alex Lorenz authored
      The core engine of clang-rename will be used for local and global renames in the
      new refactoring engine, as mentioned in
      http://lists.llvm.org/pipermail/cfe-dev/2017-June/054286.html.
      
      The clang-rename tool is still supported but might get deprecated in the future.
      
      Differential Revision: https://reviews.llvm.org/D34696
      
      llvm-svn: 306840
      4abbd92b
  18. Jun 29, 2017
  19. May 24, 2017
    • Serge Pavlov's avatar
      Method loadFromCommandLine should be able to report errors · c46064c2
      Serge Pavlov authored
      Now FixedCompilationDatabase::loadFromCommandLine has no means to report
      which error occurred if it fails to create compilation object. This is
      a block for implementing D33013, because after that change driver will
      refuse to create compilation if command line contains erroneous options.
      
      This change adds additional argument to loadFromCommandLine, which is
      assigned error message text if compilation object was not created. This is
      the same way as other methods of CompilationDatabase report failure.
      
      Differential Revision: https://reviews.llvm.org/D33272
      
      llvm-svn: 303741
      c46064c2
  20. May 12, 2017
  21. May 11, 2017
  22. May 10, 2017
  23. May 05, 2017
Loading