[all-commits] [llvm/llvm-project] a12ac7: [lldb][NFC] Move ClangASTContext::m_scratch_ast_so...

Raphael Isemann via All-commits all-commits at lists.llvm.org
Tue Dec 24 07:32:59 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a12ac7009e99c6f9e72652e34019f07df9970204
      https://github.com/llvm/llvm-project/commit/a12ac7009e99c6f9e72652e34019f07df9970204
  Author: Raphael Isemann <teemperor at gmail.com>
  Date:   2019-12-24 (Tue, 24 Dec 2019)

  Changed paths:
    M lldb/include/lldb/Symbol/ClangASTContext.h
    M lldb/source/Symbol/ClangASTContext.cpp

  Log Message:
  -----------
  [lldb][NFC] Move ClangASTContext::m_scratch_ast_source_up to the appropriate class

m_scratch_ast_source_up is only used by ClangASTContextForExpressions so it
should also be declared only in that class. Also make all other members of
ClangASTContext private and move the initialization code for ClangASTContextForExpressions
into the constructor.




More information about the All-commits mailing list