$ mv commit-msg* .git/hooks
$ chmod u+x .git/hooks/commit-msg*
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // -*- C++ -*- | |
| //===-------------------- support/win32/locale_win32.cpp ------------------===// | |
| // | |
| // The LLVM Compiler Infrastructure | |
| // | |
| // This file is dual licensed under the MIT and the University of Illinois Open | |
| // Source Licenses. See LICENSE.TXT for details. | |
| // | |
| //===----------------------------------------------------------------------===// |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //===--------------------------- Unwind-arm.c ----------------------------===// | |
| // | |
| // The LLVM Compiler Infrastructure | |
| // | |
| // This file is dual licensed under the MIT and the University of Illinois Open | |
| // Source Licenses. See LICENSE.TXT for details. | |
| // | |
| // | |
| // Implements ARM zero-cost C++ exceptions | |
| // |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <signal.h> | |
| #include <unistd.h> | |
| extern "C" { | |
| int on_exit(void (*function)(int , void *), void *arg); | |
| static void register_printers() __attribute__ ((constructor)); | |
| static void exit_status_printer(int i, void* a); | |
| static void signal_printer(int sig); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Index: CMakeLists.txt | |
| =================================================================== | |
| --- CMakeLists.txt (revision 244611) | |
| +++ CMakeLists.txt (working copy) | |
| @@ -166,7 +166,7 @@ | |
| # Setup Compiler Flags | |
| #=============================================================================== | |
| -include(HandleLibCXXABI) # Steup the ABI library flags | |
| +include(HandleLibCXXABI) # Setup the ABI library flags |
Generate a GPG Key and revocation cert per http://www.gnupg.org/gpg/en/manual.html:
gpg --key-gen
gpg --output revoke.asc --gen-revoke <my user ID or email>
Once gpg key in keyring we can encrypt and decrypt files.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Utility that makes it a little bit nicer to | |
| // invert the condition on assignment from optional: | |
| // if ((Not{foo} = maybeMakeFoo()) { | |
| // std::cerr << "can't make foo\n"; | |
| // } | |
| #include <optional> | |
| template<typename T> | |
| struct Not { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/clang/docs/LanguageExtensions.rst b/clang/docs/LanguageExtensions.rst | |
| index 4c7af39e93e..85eca5034fb 100644 | |
| --- a/clang/docs/LanguageExtensions.rst | |
| +++ b/clang/docs/LanguageExtensions.rst | |
| @@ -2823,8 +2823,8 @@ Extensions for Dynamic Analysis | |
| Use ``__has_feature(address_sanitizer)`` to check if the code is being built | |
| with :doc:`AddressSanitizer`. | |
| -Use ``__has_feature(thread_sanitizer)`` to check if the code is being built | |
| -with :doc:`ThreadSanitizer`. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/llvm/include/llvm/Support/FileCheck.h b/llvm/include/llvm/Support/FileCheck.h | |
| index 429e36cfcbb..5925fa811ca 100644 | |
| --- a/llvm/include/llvm/Support/FileCheck.h | |
| +++ b/llvm/include/llvm/Support/FileCheck.h | |
| @@ -61,7 +61,10 @@ enum FileCheckKind { | |
| CheckBadNot, | |
| /// Marks when parsing found a -COUNT directive with invalid count value. | |
| - CheckBadCount | |
| + CheckBadCount, |