Author: klimek Date: Tue Jul 18 03:15:07 2017 New Revision: 308290 URL: http://llvm.org/viewvc/llvm-project?rev=308290&view=rev Log: Add autoload cookies for clang-include-fixer lisp functions.
Annotate all public functions with the autoload magic cookie so that update-directory-autoloads will find them. Patch by Brendan O'Dea. Modified: clang-tools-extra/trunk/include-fixer/tool/clang-include-fixer.el Modified: clang-tools-extra/trunk/include-fixer/tool/clang-include-fixer.el URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/include-fixer/tool/clang-include-fixer.el?rev=308290&r1=308289&r2=308290&view=diff ============================================================================== --- clang-tools-extra/trunk/include-fixer/tool/clang-include-fixer.el (original) +++ clang-tools-extra/trunk/include-fixer/tool/clang-include-fixer.el Tue Jul 18 03:15:07 2017 @@ -58,6 +58,7 @@ This string is passed as -input argument (defface clang-include-fixer-highlight '((t :background "green")) "Used for highlighting the symbol for which a header file is being added.") +;;;###autoload (defun clang-include-fixer () "Invoke the Include Fixer to insert missing C++ headers." (interactive) @@ -66,6 +67,7 @@ This string is passed as -input argument (clang-include-fixer--start #'clang-include-fixer--add-header "-output-headers")) +;;;###autoload (defun clang-include-fixer-at-point () "Invoke the Clang include fixer for the symbol at point." (interactive) @@ -74,6 +76,7 @@ This string is passed as -input argument (user-error "No symbol at current location")) (clang-include-fixer-from-symbol symbol))) +;;;###autoload (defun clang-include-fixer-from-symbol (symbol) "Invoke the Clang include fixer for the SYMBOL. When called interactively, prompts the user for a symbol." _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits