akhuang created this revision. akhuang added a reviewer: rnk. Herald added a project: All. akhuang requested review of this revision. Herald added a project: clang. Herald added a subscriber: cfe-commits.
Update docs to reflect the fact that this flag is on by default now. Repository: rG LLVM Github Monorepo https://reviews.llvm.org/D136188 Files: clang/docs/UsersManual.rst Index: clang/docs/UsersManual.rst =================================================================== --- clang/docs/UsersManual.rst +++ clang/docs/UsersManual.rst @@ -2860,16 +2860,12 @@ .. option:: -fuse-ctor-homing - This optimization is similar to the optimizations that are enabled as part - of -fno-standalone-debug. Here, Clang only emits type info for a - non-trivial, non-aggregate C++ class in the modules that contain a - definition of one of its constructors. This relies on the additional - assumption that all classes that are not trivially constructible have a - non-trivial constructor that is used somewhere. The negation, - -fno-use-ctor-homing, ensures that constructor homing is not used. - - This flag is not enabled by default, and needs to be used with -cc1 or - -Xclang. + This optimization is enabled by default as part of -fno-standalone-debug. + Clang only emits type info for a non-trivial, non-aggregate C++ class in + the modules that contain a definition of one of its constructors. This + relies on the additional assumption that all classes that are not trivially + constructible have a non-trivial constructor that is used somewhere. This + can be disabled using the cc1 flag -fno-use-ctor-homing. .. option:: -g
Index: clang/docs/UsersManual.rst =================================================================== --- clang/docs/UsersManual.rst +++ clang/docs/UsersManual.rst @@ -2860,16 +2860,12 @@ .. option:: -fuse-ctor-homing - This optimization is similar to the optimizations that are enabled as part - of -fno-standalone-debug. Here, Clang only emits type info for a - non-trivial, non-aggregate C++ class in the modules that contain a - definition of one of its constructors. This relies on the additional - assumption that all classes that are not trivially constructible have a - non-trivial constructor that is used somewhere. The negation, - -fno-use-ctor-homing, ensures that constructor homing is not used. - - This flag is not enabled by default, and needs to be used with -cc1 or - -Xclang. + This optimization is enabled by default as part of -fno-standalone-debug. + Clang only emits type info for a non-trivial, non-aggregate C++ class in + the modules that contain a definition of one of its constructors. This + relies on the additional assumption that all classes that are not trivially + constructible have a non-trivial constructor that is used somewhere. This + can be disabled using the cc1 flag -fno-use-ctor-homing. .. option:: -g
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits