Author: Justas Janickas Date: 2021-08-25T21:24:32+01:00 New Revision: 9dc92bba6c742216096e33402a1a8aebf5ca48b7
URL: https://github.com/llvm/llvm-project/commit/9dc92bba6c742216096e33402a1a8aebf5ca48b7 DIFF: https://github.com/llvm/llvm-project/commit/9dc92bba6c742216096e33402a1a8aebf5ca48b7.diff LOG: [OpenCL][NFC] Fix code example in __remove_address_space documentation. Added: Modified: clang/docs/LanguageExtensions.rst Removed: ################################################################################ diff --git a/clang/docs/LanguageExtensions.rst b/clang/docs/LanguageExtensions.rst index fada65c487bc..3193c8cdc11e 100644 --- a/clang/docs/LanguageExtensions.rst +++ b/clang/docs/LanguageExtensions.rst @@ -1978,7 +1978,7 @@ address space qualifiers, therefore, other type qualifiers such as void foo(T *par){ T var1; // error - local function variable with global address space __private T var2; // error - conflicting address space qualifiers - __private __remove_address_space<T> var3; // var3 is __private int + __private __remove_address_space<T>::type var3; // var3 is __private int } void bar(){ _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits