reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

tools/clang/include/clang/Frontend/ASTUnit.h
   67 class CompilerInvocation;
tools/clang/include/clang/Frontend/PrecompiledPreamble.h
   35 class CompilerInvocation;
tools/clang/include/clang/Frontend/Utils.h
   49 class CompilerInvocation;
tools/clang/include/clang/Tooling/Tooling.h
   54 class CompilerInvocation;
tools/clang/tools/extra/clang-include-fixer/IncludeFixer.h
   23 class CompilerInvocation;

References

tools/clang/examples/clang-interpreter/main.cpp
  175   std::unique_ptr<CompilerInvocation> CI(new CompilerInvocation);
  175   std::unique_ptr<CompilerInvocation> CI(new CompilerInvocation);
  176   CompilerInvocation::CreateFromArgs(*CI, CCArgs, Diags);
  200       CompilerInvocation::GetResourcesPath(argv[0], MainAddr);
tools/clang/include/clang/ARCMigrate/ARCMT.h
   41 checkForManualIssues(CompilerInvocation &CI, const FrontendInputFile &Input,
   52 applyTransformations(CompilerInvocation &origCI,
   69     CompilerInvocation &origCI, const FrontendInputFile &Input,
   97   CompilerInvocation OrigCI;
  105   MigrationProcess(const CompilerInvocation &CI,
tools/clang/include/clang/Frontend/ASTUnit.h
  139   std::shared_ptr<CompilerInvocation> Invocation;
  376       CompilerInvocation &PreambleInvocationIn,
  666   create(std::shared_ptr<CompilerInvocation> CI,
  750       std::shared_ptr<CompilerInvocation> CI,
  778       std::shared_ptr<CompilerInvocation> CI,
tools/clang/include/clang/Frontend/CompilerInstance.h
   74   std::shared_ptr<CompilerInvocation> Invocation;
  236   CompilerInvocation &getInvocation() {
  242   void setInvocation(std::shared_ptr<CompilerInvocation> Value);
tools/clang/include/clang/Frontend/CompilerInvocation.h
  157   static bool CreateFromArgs(CompilerInvocation &Res,
  228 createVFSFromCompilerInvocation(const CompilerInvocation &CI,
  232     const CompilerInvocation &CI, DiagnosticsEngine &Diags,
tools/clang/include/clang/Frontend/PrecompiledPreamble.h
   79   Build(const CompilerInvocation &Invocation,
   99   bool CanReuse(const CompilerInvocation &Invocation,
  111   void AddImplicitPreamble(CompilerInvocation &CI,
  118   void OverridePreamble(CompilerInvocation &CI,
  234   void configurePreamble(PreambleBounds Bounds, CompilerInvocation &CI,
tools/clang/include/clang/Frontend/Utils.h
  222 std::unique_ptr<CompilerInvocation> createInvocationFromCommandLine(
tools/clang/include/clang/Tooling/Tooling.h
   79   runInvocation(std::shared_ptr<CompilerInvocation> Invocation,
   96   bool runInvocation(std::shared_ptr<CompilerInvocation> Invocation,
  283                      std::shared_ptr<CompilerInvocation> Invocation,
  505 CompilerInvocation *newInvocation(DiagnosticsEngine *Diagnostics,
tools/clang/lib/ARCMigrate/ARCMT.cpp
  148 static bool HasARCRuntime(CompilerInvocation &origCI) {
  172 static CompilerInvocation *
  173 createInvocationForMigration(CompilerInvocation &origCI,
  175   std::unique_ptr<CompilerInvocation> CInvok;
  176   CInvok.reset(new CompilerInvocation(origCI));
  237     CompilerInvocation &origCI, const FrontendInputFile &Input,
  252   std::unique_ptr<CompilerInvocation> CInvok;
  338 applyTransforms(CompilerInvocation &origCI, const FrontendInputFile &Input,
  348   CompilerInvocation CInvokForCheck(origCI);
  354   CompilerInvocation CInvok(origCI);
  384     CompilerInvocation &origCI, const FrontendInputFile &Input,
  392     CompilerInvocation &origCI, const FrontendInputFile &Input,
  507     const CompilerInvocation &CI,
  523   std::unique_ptr<CompilerInvocation> CInvok;
tools/clang/lib/Frontend/ASTUnit.cpp
  158 getBufferForFileHandlingRemapping(const CompilerInvocation &Invocation,
 1109   auto CCInvocation = std::make_shared<CompilerInvocation>(*Invocation);
 1304     CompilerInvocation &PreambleInvocationIn,
 1492 ASTUnit::create(std::shared_ptr<CompilerInvocation> CI,
 1513     std::shared_ptr<CompilerInvocation> CI,
 1693     std::shared_ptr<CompilerInvocation> CI,
 1746   std::shared_ptr<CompilerInvocation> CI;
 2152   auto CCInvocation = std::make_shared<CompilerInvocation>(*Invocation);
 2186   auto &Inv = *CCInvocation;
tools/clang/lib/Frontend/ChainedIncludesSource.cpp
  126     std::unique_ptr<CompilerInvocation> CInvok;
  127     CInvok.reset(new CompilerInvocation(CI.getInvocation()));
tools/clang/lib/Frontend/CompilerInstance.cpp
   62       Invocation(new CompilerInvocation()),
   72     std::shared_ptr<CompilerInvocation> Value) {
 1049       std::make_shared<CompilerInvocation>(ImportingInstance.getInvocation());
 1113   auto &Inv = *Invocation;
tools/clang/lib/Frontend/CompilerInvocation.cpp
 2494   CompilerInvocation::setLangDefaults(Opts, IK, T, PPOpts, LangStd);
 3426 bool CompilerInvocation::CreateFromArgs(CompilerInvocation &Res,
 3686 createVFSFromCompilerInvocation(const CompilerInvocation &CI,
 3693     const CompilerInvocation &CI, DiagnosticsEngine &Diags,
tools/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
   27 std::unique_ptr<CompilerInvocation> clang::createInvocationFromCommandLine(
   92   auto CI = std::make_unique<CompilerInvocation>();
   93   if (!CompilerInvocation::CreateFromArgs(*CI, CCArgs, *Diags) &&
tools/clang/lib/Frontend/PrecompiledPreamble.cpp
  236     const CompilerInvocation &Invocation,
  244   auto PreambleInvocation = std::make_shared<CompilerInvocation>(Invocation);
  418 bool PrecompiledPreamble::CanReuse(const CompilerInvocation &Invocation,
  427   auto PreambleInvocation = std::make_shared<CompilerInvocation>(Invocation);
  510     CompilerInvocation &CI, IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS,
  517     CompilerInvocation &CI, IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS,
  704     PreambleBounds Bounds, CompilerInvocation &CI,
tools/clang/lib/Frontend/Rewrite/FrontendActions.cpp
  247         std::make_shared<CompilerInvocation>(CI.getInvocation()));
tools/clang/lib/StaticAnalyzer/Frontend/ModelInjector.cpp
   66   auto Invocation = std::make_shared<CompilerInvocation>(CI.getInvocation());
tools/clang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp
   79   bool runInvocation(std::shared_ptr<CompilerInvocation> Invocation,
   96       const CompilerInvocation &CI = Compiler.getInvocation();
tools/clang/lib/Tooling/Tooling.cpp
  144 CompilerInvocation *newInvocation(
  147   CompilerInvocation *Invocation = new CompilerInvocation;
  147   CompilerInvocation *Invocation = new CompilerInvocation;
  148   CompilerInvocation::CreateFromArgs(*Invocation, CC1Args, *Diagnostics);
  347   std::unique_ptr<CompilerInvocation> Invocation(
  363     std::shared_ptr<CompilerInvocation> Invocation,
  377     std::shared_ptr<CompilerInvocation> Invocation, FileManager *Files,
  445                  CompilerInvocation::GetResourcesPath(Argv0, MainAddr));
  576   bool runInvocation(std::shared_ptr<CompilerInvocation> Invocation,
tools/clang/tools/arcmt-test/arcmt-test.cpp
  123   CompilerInvocation CI;
  124   if (!CompilerInvocation::CreateFromArgs(CI, Args, *Diags))
  162   CompilerInvocation origCI;
  163   if (!CompilerInvocation::CreateFromArgs(origCI, Args, *TopDiags))
  347     resourcesPath = CompilerInvocation::GetResourcesPath(argv[0], MainAddr);
tools/clang/tools/clang-fuzzer/handle-cxx/handle_cxx.cpp
   39   std::unique_ptr<clang::CompilerInvocation> Invocation(
tools/clang/tools/clang-import-test/clang-import-test.cpp
  166   auto Inv = std::make_unique<CompilerInvocation>();
  171   CompilerInvocation::CreateFromArgs(*Inv, ClangArgv, Ins->getDiagnostics());
tools/clang/tools/diagtool/ShowEnabledWarnings.cpp
   69   std::unique_ptr<CompilerInvocation> Invocation =
tools/clang/tools/driver/cc1_main.cpp
  217       CompilerInvocation::CreateFromArgs(Clang->getInvocation(), Argv, Diags);
  231       CompilerInvocation::GetResourcesPath(Argv0, MainAddr);
tools/clang/tools/extra/clang-include-fixer/IncludeFixer.cpp
   84     std::shared_ptr<clang::CompilerInvocation> Invocation,
tools/clang/tools/extra/clang-include-fixer/IncludeFixer.h
   44   runInvocation(std::shared_ptr<clang::CompilerInvocation> Invocation,
tools/clang/tools/extra/clang-tidy/ClangTidy.cpp
  539     bool runInvocation(std::shared_ptr<CompilerInvocation> Invocation,
tools/clang/tools/extra/clangd/Compiler.cpp
   43 std::unique_ptr<CompilerInvocation>
   58   std::unique_ptr<CompilerInvocation> CI = createInvocationFromCommandLine(
   70 prepareCompilerInstance(std::unique_ptr<clang::CompilerInvocation> CI,
tools/clang/tools/extra/clangd/Compiler.h
   54 std::unique_ptr<CompilerInvocation>
   69     std::unique_ptr<clang::CompilerInvocation>, const PrecompiledPreamble *,
tools/clang/tools/extra/clangd/GlobalCompilationDatabase.cpp
   51   return CompilerInvocation::GetResourcesPath("clangd", (void *)&Dummy);
tools/clang/tools/extra/clangd/ParsedAST.cpp
  218 ParsedAST::build(std::unique_ptr<clang::CompilerInvocation> CI,
  505 buildAST(PathRef FileName, std::unique_ptr<CompilerInvocation> Invocation,
  522       std::make_unique<CompilerInvocation>(*Invocation),
tools/clang/tools/extra/clangd/ParsedAST.h
   51   build(std::unique_ptr<clang::CompilerInvocation> CI,
  139 buildAST(PathRef FileName, std::unique_ptr<CompilerInvocation> Invocation,
tools/clang/tools/extra/clangd/Preamble.cpp
   89 buildPreamble(PathRef FileName, CompilerInvocation &CI,
tools/clang/tools/extra/clangd/Preamble.h
   78 buildPreamble(PathRef FileName, CompilerInvocation &CI,
tools/clang/tools/extra/clangd/TUScheduler.cpp
  410     std::unique_ptr<CompilerInvocation> Invocation =
  536       std::unique_ptr<CompilerInvocation> Invocation = buildCompilerInvocation(
  542                          std::make_unique<CompilerInvocation>(*Invocation),
tools/clang/tools/libclang/Indexing.cpp
  510   std::shared_ptr<CompilerInvocation> CInvok =
  518       std::shared_ptr<CompilerInvocation>,
  520           std::shared_ptr<CompilerInvocation>>>
tools/clang/unittests/AST/ExternalASTSourceTest.cpp
   51   auto Invocation = std::make_shared<CompilerInvocation>();
   55   CompilerInvocation::CreateFromArgs(*Invocation, Args,
tools/clang/unittests/Frontend/ASTUnitTest.cpp
   31   std::shared_ptr<CompilerInvocation> CInvok;
tools/clang/unittests/Frontend/CodeGenActionTest.cpp
   44   auto Invocation = std::make_shared<CompilerInvocation>();
tools/clang/unittests/Frontend/CompilerInstanceTest.cpp
   57   std::shared_ptr<CompilerInvocation> CInvok =
tools/clang/unittests/Frontend/FrontendActionTest.cpp
   83   auto invocation = std::make_shared<CompilerInvocation>();
  103   auto invocation = std::make_shared<CompilerInvocation>();
  123   auto invocation = std::make_shared<CompilerInvocation>();
  176   auto Invocation = std::make_shared<CompilerInvocation>();
  235   auto Invocation = std::make_shared<CompilerInvocation>();
  268     auto Invocation = std::make_shared<CompilerInvocation>();
tools/clang/unittests/Frontend/OutputStreamTest.cpp
   25   auto Invocation = std::make_shared<CompilerInvocation>();
   49   auto Invocation = std::make_shared<CompilerInvocation>();
   78     auto Invocation = std::make_shared<CompilerInvocation>();
tools/clang/unittests/Frontend/PCHPreambleTest.cpp
   81     std::shared_ptr<CompilerInvocation> CI(new CompilerInvocation);
   81     std::shared_ptr<CompilerInvocation> CI(new CompilerInvocation);
tools/clang/unittests/Tooling/DependencyScannerTest.cpp
   52   bool runInvocation(std::shared_ptr<CompilerInvocation> Invocation,
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp
   70       std::shared_ptr<clang::CompilerInvocation> compiler_invocation,
  102   std::shared_ptr<clang::CompilerInvocation> m_compiler_invocation;
  157     std::shared_ptr<clang::CompilerInvocation> compiler_invocation,
  656   std::shared_ptr<clang::CompilerInvocation> invocation =
usr/include/c++/7.4.0/bits/alloc_traits.h
  387       using allocator_type = allocator<_Tp>;
  389       using value_type = _Tp;
  392       using pointer = _Tp*;
  395       using const_pointer = const _Tp*;
  474 	construct(allocator_type& __a, _Up* __p, _Args&&... __args)
  474 	construct(allocator_type& __a, _Up* __p, _Args&&... __args)
  486 	destroy(allocator_type& __a, _Up* __p)
usr/include/c++/7.4.0/bits/allocator.h
  108     class allocator: public __allocator_base<_Tp>
  113       typedef _Tp*       pointer;
  114       typedef const _Tp* const_pointer;
  115       typedef _Tp&       reference;
  116       typedef const _Tp& const_reference;
  117       typedef _Tp        value_type;
  137 	allocator(const allocator<_Tp1>&) throw() { }
usr/include/c++/7.4.0/bits/move.h
   46     inline _GLIBCXX_CONSTEXPR _Tp*
   47     __addressof(_Tp& __r) _GLIBCXX_NOEXCEPT
   72     constexpr _Tp&&
   83     constexpr _Tp&&
usr/include/c++/7.4.0/bits/shared_ptr.h
   93     class shared_ptr : public __shared_ptr<_Tp>
  107       using element_type = typename __shared_ptr<_Tp>::element_type;
  129 	shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
  202 	shared_ptr(nullptr_t __p, _Deleter __d, _Alloc __a)
  236 	shared_ptr(const shared_ptr<_Yp>& __r) noexcept
  253 	shared_ptr(shared_ptr<_Yp>&& __r) noexcept
  277 	shared_ptr(unique_ptr<_Yp, _Del>&& __r)
  299 	_Assignable<const shared_ptr<_Yp>&>
  300 	operator=(const shared_ptr<_Yp>& __r) noexcept
  324 	_Assignable<shared_ptr<_Yp>>
  325 	operator=(shared_ptr<_Yp>&& __r) noexcept
  332 	_Assignable<unique_ptr<_Yp, _Del>>
  333 	operator=(unique_ptr<_Yp, _Del>&& __r)
  343 		   _Args&&... __args)
  352       shared_ptr(const weak_ptr<_Tp>& __r, std::nothrow_t)
  388     operator!=(const shared_ptr<_Tp>& __a, nullptr_t) noexcept
  520     class weak_ptr : public __weak_ptr<_Tp>
  582       shared_ptr<_Tp>
  687     inline shared_ptr<_Tp>
  688     allocate_shared(const _Alloc& __a, _Args&&... __args)
  702     inline shared_ptr<_Tp>
  703     make_shared(_Args&&... __args)
  705       typedef typename std::remove_const<_Tp>::type _Tp_nc;
  706       return std::allocate_shared<_Tp>(std::allocator<_Tp_nc>(),
usr/include/c++/7.4.0/bits/shared_ptr_base.h
  653 	__shared_count(std::unique_ptr<_Tp, _Del>&& __r) : _M_pi(0)
  660 	  using _Ptr = typename unique_ptr<_Tp, _Del>::pointer;
  882     : is_convertible<_Yp*, _Tp*>::type
  882     : is_convertible<_Yp*, _Tp*>::type
  946     : is_convertible<_Yp*, _Tp*>::type
  946     : is_convertible<_Yp*, _Tp*>::type
  956       using element_type = _Tp;
 1035     : public __shared_ptr_access<_Tp, _Lp>
 1038       using element_type = typename remove_extent<_Tp>::type;
 1078 	__shared_ptr(_Yp* __p)
 1081 	  static_assert( !is_void<_Yp>::value, "incomplete type" );
 1082 	  static_assert( sizeof(_Yp) > 0, "incomplete type" );
 1111         __shared_ptr(nullptr_t __p, _Deleter __d, _Alloc __a)
 1126 	__shared_ptr(const __shared_ptr<_Yp, _Lp>& __r) noexcept
 1138 	__shared_ptr(__shared_ptr<_Yp, _Lp>&& __r) noexcept
 1157 	__shared_ptr(unique_ptr<_Yp, _Del>&& __r)
 1192 	_Assignable<_Yp>
 1193 	operator=(const __shared_ptr<_Yp, _Lp>& __r) noexcept
 1218 	_Assignable<_Yp>
 1219 	operator=(__shared_ptr<_Yp, _Lp>&& __r) noexcept
 1226 	_UniqAssignable<_Yp, _Del>
 1227 	operator=(unique_ptr<_Yp, _Del>&& __r)
 1272       swap(__shared_ptr<_Tp, _Lp>& __other) noexcept
 1317 		     _Args&&... __args)
 1321 	    rebind_traits<typename std::remove_cv<_Tp>::type> __traits;
 1344       __shared_ptr(const __weak_ptr<_Tp, _Lp>& __r, std::nothrow_t)
 1377 	typename enable_if<!__has_esft_base<_Yp2>::value>::type
 1378 	_M_enable_shared_from_this_with(_Yp*) noexcept
 1386 	static _Tp1*
 1387 	_S_raw_ptr(_Tp1* __ptr)
 1431     operator!=(const __shared_ptr<_Tp, _Lp>& __a, nullptr_t) noexcept
 1601       using element_type = typename remove_extent<_Tp>::type;
 1626 	__weak_ptr(const __weak_ptr<_Yp, _Lp>& __r) noexcept
 1640 	__weak_ptr(__weak_ptr<_Yp, _Lp>&& __r) noexcept
 1648 	_Assignable<_Yp>
 1649 	operator=(const __weak_ptr<_Yp, _Lp>& __r) noexcept
 1675 	_Assignable<_Yp>
 1676 	operator=(__weak_ptr<_Yp, _Lp>&& __r) noexcept
 1684       __shared_ptr<_Tp, _Lp>
 1720       _M_assign(_Tp* __ptr, const __shared_count<_Lp>& __refcount) noexcept
usr/include/c++/7.4.0/bits/unique_ptr.h
   68         default_delete(const default_delete<_Up>&) noexcept { }
   72       operator()(_Tp* __ptr) const
   74 	static_assert(!is_void<_Tp>::value,
   76 	static_assert(sizeof(_Tp)>0,
  122 	  using type = _Up*;
  137       using pointer = typename _Ptr<_Tp, _Dp>::type;
  161 	typename __uniq_ptr_impl<_Tp, _Up>::_DeleterConstraint::type;
  163       __uniq_ptr_impl<_Tp, _Dp> _M_t;
  166       using pointer	  = typename __uniq_ptr_impl<_Tp, _Dp>::pointer;
  167       using element_type  = _Tp;
  252 	unique_ptr(unique_ptr<_Up, _Ep>&& __u) noexcept
  706     operator!=(const unique_ptr<_Tp, _Dp>& __x, nullptr_t) noexcept
  811     { typedef unique_ptr<_Tp> __single_object; };
  823     inline typename _MakeUniq<_Tp>::__single_object
  824     make_unique(_Args&&... __args)
  825     { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
usr/include/c++/7.4.0/ext/new_allocator.h
   63       typedef _Tp*       pointer;
   64       typedef const _Tp* const_pointer;
   65       typedef _Tp&       reference;
   66       typedef const _Tp& const_reference;
   67       typedef _Tp        value_type;
   84 	new_allocator(const new_allocator<_Tp1>&) _GLIBCXX_USE_NOEXCEPT { }
  111 	return static_cast<_Tp*>(::operator new(__n * sizeof(_Tp)));
  130       { return size_t(-1) / sizeof(_Tp); }
  135 	construct(_Up* __p, _Args&&... __args)
  135 	construct(_Up* __p, _Args&&... __args)
  136 	{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
  140 	destroy(_Up* __p) { __p->~_Up(); }
usr/include/c++/7.4.0/type_traits
  215     : public __is_void_helper<typename remove_cv<_Tp>::type>::type
  581     : public __or_<is_lvalue_reference<_Tp>,
  582                    is_rvalue_reference<_Tp>>::type
  601     : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
  601     : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
  602                           is_void<_Tp>>>::type
  638     : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
  638     : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
 1554     { typedef _Tp     type; };
 1563     { typedef _Tp     type; };
 1574       remove_const<typename remove_volatile<_Tp>::type>::type     type;
 1633     { typedef _Tp   type; };
 1645     { typedef _Tp&   type; };
 1650     : public __add_lvalue_reference_helper<_Tp>
 1942     { typedef _Tp     type; };