search for: clangbasic

Displaying 20 results from an estimated 20 matches for "clangbasic".

2018 Jun 08
2
Fail to install llvm/clang on debian
...lang/lib/Basic/VirtualFileSystem.cpp:262:46: error: ‘OF_None’ is not a member of ‘llvm::sys::fs’ sys::fs::openFileForRead(Name, FD, sys::fs::OF_None, &RealName)) [ 75%] Building CXX object tools/clang/lib/Rewrite/CMakeFiles/clangRewrite.dir/HTMLRewrite.cpp.o tools/clang/lib/Basic/CMakeFiles/clangBasic.dir/build.make:1244: recipe for target 'tools/clang/lib/Basic/CMakeFiles/clangBasic.dir/VirtualFileSystem.cpp.o' failed make[2]: *** [tools/clang/lib/Basic/CMakeFiles/clangBasic.dir/VirtualFileSystem.cpp.o] Error 1 CMakeFiles/Makefile2:12824: recipe for target 'tools/clang/lib/Basic/C...
2017 Aug 02
2
llvm-trunk errors with gcc-5.3.0 on SuSE Linux
...t.so" \ -DBUILD_SHARED_LIBS:BOOL=ON \ ../llvm \ |& tee log.cmake cmake --build . |& tee log.cmake-build Unfortunately I get the following errors. Is it necessary to change my configuration to avoid the errors? ... [ 66%] Building CXX object tools/clang/lib/Basic/CMakeFiles/clangBasic.dir/TargetInfo.cpp.o [ 66%] Building CXX object tools/clang/lib/Basic/CMakeFiles/clangBasic.dir/Targets.cpp.o /export2/src/llvm-trunk/llvm/tools/clang/lib/Basic/Targets.cpp:5133:23: error: 'AK_ARMV4T' is not a member of 'llvm::ARM' unsigned ArchKind = llvm::ARM::AK_ARMV4T;...
2020 Jun 02
12
[RFC] Refactor Clang: move frontend/driver/diagnostics code to LLVM
...m Clang and make sure that that lives in llvm-project/flang. *FLANG'S DEPENDENCIES ON CLANG* These are the dependencies on Clang that we have identified so far while prototyping the Flang driver. 1. All the machinery related to Diagnostics & SourceLocation. This is currently part of libclangBasic [4] and is used in _many_ places in Clang. The official documentation [5] suggests that this could be re-used for non-C-based languages. In particular, we feel that It would make a lot of sense for Flang to use it. Also, separating Clang's driver/frontend code and the diagnostics would requ...
2016 Feb 28
4
[cfe-dev] [3.8 Release] We have branched
...arget ClangAttrTemplateInstantiate [ 44%] Built target ClangAttrParsedAttrKinds [ 44%] Built target ClangAttrSpellingListIndex [ 44%] Built target ClangAttrParsedAttrImpl [ 44%] Built target ClangAttrPCHRead [ 44%] Built target ClangAttrPCHWrite [ 48%] Built target clang-headers [ 49%] Built target clangBasic [ 50%] Built target clangLex [ 50%] Built target clangParse [ 53%] Built target clangAST [ 54%] Built target clangAnalysis [ 56%] Built target clangSema [ 59%] Built target clangCodeGen [ 59%] Built target clangEdit [ 60%] Built target clangRewrite [ 62%] Built target clangARCMigrate [ 62%] Built t...
2016 Feb 29
0
[cfe-dev] [3.8 Release] We have branched
...arget ClangAttrTemplateInstantiate [ 44%] Built target ClangAttrParsedAttrKinds [ 44%] Built target ClangAttrSpellingListIndex [ 44%] Built target ClangAttrParsedAttrImpl [ 44%] Built target ClangAttrPCHRead [ 44%] Built target ClangAttrPCHWrite [ 48%] Built target clang-headers [ 49%] Built target clangBasic [ 50%] Built target clangLex [ 50%] Built target clangParse [ 53%] Built target clangAST [ 54%] Built target clangAnalysis [ 56%] Built target clangSema [ 59%] Built target clangCodeGen [ 59%] Built target clangEdit [ 60%] Built target clangRewrite [ 62%] Built target clangARCMigrate [ 62%] Built t...
2020 Sep 27
3
How to add a new clang-tidy module
...INK_LIBS + clangTidy + clangTidyBugproneModule + clangTidyGoogleModule + clangTidyMiscModule + clangTidyPerformanceModule + clangTidyReadabilityModule + clangTidyUtils + + DEPENDS + omp_gen +) + +clang_target_link_libraries(clangTidyMISRAModule + PRIVATE + clangAST + clangASTMatchers + clangBasic + clangLex + ) diff --git a/clang-tools-extra/clang-tidy/misra/M011Check.cpp b/clang-tools-extra/clang-tidy/misra/M011Check.cpp new file mode 100644 index 00000000000..ebc0ba3bbe0 --- /dev/null +++ b/clang-tools-extra/clang-tidy/misra/M011Check.cpp @@ -0,0 +1,37 @@ +//===--- M011Check.cpp - clang...
2016 Feb 29
0
[cfe-dev] [3.8 Release] We have branched
...arget ClangAttrTemplateInstantiate [ 44%] Built target ClangAttrParsedAttrKinds [ 44%] Built target ClangAttrSpellingListIndex [ 44%] Built target ClangAttrParsedAttrImpl [ 44%] Built target ClangAttrPCHRead [ 44%] Built target ClangAttrPCHWrite [ 48%] Built target clang-headers [ 49%] Built target clangBasic [ 50%] Built target clangLex [ 50%] Built target clangParse [ 53%] Built target clangAST [ 54%] Built target clangAnalysis [ 56%] Built target clangSema [ 59%] Built target clangCodeGen [ 59%] Built target clangEdit [ 60%] Built target clangRewrite [ 62%] Built target clangARCMigrate [ 62%] Built t...
2020 Jun 03
2
[cfe-dev] [RFC] Refactor Clang: move frontend/driver/diagnostics code to LLVM
...t; >> *FLANG'S DEPENDENCIES ON CLANG* >> These are the dependencies on Clang that we have identified so far while >> prototyping the Flang driver. >> >> 1. All the machinery related to Diagnostics & SourceLocation. >> >> This is currently part of libclangBasic [4] and is used in _many_ places >> in Clang. The official documentation [5] suggests that this could be >> re-used for non-C-based languages. In particular, we feel that It would >> make a lot of sense for Flang to use it. Also, separating Clang's >> driver/frontend cod...
2020 Jun 09
4
[RFC] Refactor Clang: move frontend/driver/diagnostics code to LLVM
...ANG* > These are the dependencies on Clang that we have identified > so far while > prototyping the Flang driver. > > 1. All the machinery related to Diagnostics & SourceLocation. > > This is currently part of libclangBasic [4] and is used in > _many_ places > in Clang. The official documentation [5] suggests that this > could be > re-used for non-C-based languages. In particular, we feel > that It would > make a lot of sense for...
2017 Jun 28
2
Building llvm with clang and lld on arm and the llvm arm backend relocation on position independent code
...gAttrParsedAttrKinds [ 59%] Built target ClangAttrSpellingListIndex [ 59%] Built target ClangAttrParsedAttrList [ 59%] Built target ClangAttrParsedAttrImpl [ 59%] Built target ClangAttrTemplateInstantiate [ 59%] Built target ClangAttrPCHRead [ 59%] Built target ClangAttrPCHWrite [ 60%] Built target clangBasic [ 62%] Built target clangLex [ 62%] Built target clangParse [ 63%] Built target clangAST [ 63%] Built target clangASTMatchers [ 63%] Built target clangDynamicASTMatchers [ 65%] Built target clangSema [ 67%] Built target clangCodeGen [ 68%] Built target clangAnalysis [ 68%] Built target clangEdit [...
2017 Jun 28
3
Building llvm with clang and lld on arm and the llvm arm backend relocation on position independent code
...lingListIndex >> [ 59%] Built target ClangAttrParsedAttrList >> [ 59%] Built target ClangAttrParsedAttrImpl >> [ 59%] Built target ClangAttrTemplateInstantiate >> [ 59%] Built target ClangAttrPCHRead >> [ 59%] Built target ClangAttrPCHWrite >> [ 60%] Built target clangBasic >> [ 62%] Built target clangLex >> [ 62%] Built target clangParse >> [ 63%] Built target clangAST >> [ 63%] Built target clangASTMatchers >> [ 63%] Built target clangDynamicASTMatchers >> [ 65%] Built target clangSema >> [ 67%] Built target clangCodeGen &gt...
2017 Feb 11
2
Asan self host problems: Failed to deallocate
Trying to run a self host "ninja check-clang" with ASan enabled I hit a /lot/ of errors like this (strangely I hit none of these in check-llvm, only in check-clang): Any ideas? ==10525==ERROR: AddressSanitizer failed to deallocate 0x10800 (67584) bytes at address 0x631000014800 ==10525==AddressSanitizer CHECK failed:
2017 Jun 28
3
Building llvm with clang and lld on arm and the llvm arm backend relocation on position independent code
...et ClangAttrParsedAttrList >>> [ 59%] Built target ClangAttrParsedAttrImpl >>> [ 59%] Built target ClangAttrTemplateInstantiate >>> [ 59%] Built target ClangAttrPCHRead >>> [ 59%] Built target ClangAttrPCHWrite >>> [ 60%] Built target clangBasic >>> [ 62%] Built target clangLex >>> [ 62%] Built target clangParse >>> [ 63%] Built target clangAST >>> [ 63%] Built target clangASTMatchers >>> [ 63%] Built target clangDynamicASTMatchers >>> [ 65%] Built target clangSe...
2017 Feb 15
2
Asan self host problems: Failed to deallocate
...e_LIB_DEPENDS:STATIC= //Dependencies for target clangASTMatchers_LIB_DEPENDS:STATIC= //Dependencies for target clangAST_LIB_DEPENDS:STATIC= //Dependencies for target clangAnalysis_LIB_DEPENDS:STATIC= //Dependencies for target clangApplyReplacements_LIB_DEPENDS:STATIC= //Dependencies for target clangBasic_LIB_DEPENDS:STATIC= //Dependencies for target clangChangeNamespace_LIB_DEPENDS:STATIC= //Dependencies for target clangCodeGen_LIB_DEPENDS:STATIC= //Dependencies for target clangDriver_LIB_DEPENDS:STATIC= //Dependencies for target clangDynamicASTMatchers_LIB_DEPENDS:STATIC= //Dependencies for t...
2015 Jul 22
2
[LLVMdev] (no subject)
Hello, I have tried a lot fix this error but am not able to can you please find me a solution am trying to compile the SAFECode in Cygwin Environment to work for windows. used make -j4 command to make the files in cygwin i have got this error make[5]: Leaving directory '/home/uidr7475/Work/LLVM_OBJ/projects/safecode/tools/clang/include' /usr/bin/cp: cannot stat
2017 Jun 28
2
Building llvm with clang and lld on arm and the llvm arm backend relocation on position independent code
...trList >>>> [ 59%] Built target ClangAttrParsedAttrImpl >>>> [ 59%] Built target ClangAttrTemplateInstantiate >>>> [ 59%] Built target ClangAttrPCHRead >>>> [ 59%] Built target ClangAttrPCHWrite >>>> [ 60%] Built target clangBasic >>>> [ 62%] Built target clangLex >>>> [ 62%] Built target clangParse >>>> [ 63%] Built target clangAST >>>> [ 63%] Built target clangASTMatchers >>>> [ 63%] Built target clangDynamicASTMatchers >>>> [ 6...
2017 Jun 30
3
Building llvm with clang and lld on arm and the llvm arm backend relocation on position independent code
...gt;>> [ 59%] Built target ClangAttrParsedAttrImpl >>>>>> [ 59%] Built target ClangAttrTemplateInstantiate >>>>>> [ 59%] Built target ClangAttrPCHRead >>>>>> [ 59%] Built target ClangAttrPCHWrite >>>>>> [ 60%] Built target clangBasic >>>>>> [ 62%] Built target clangLex >>>>>> [ 62%] Built target clangParse >>>>>> [ 63%] Built target clangAST >>>>>> [ 63%] Built target clangASTMatchers >>>>>> [ 63%] Built target clangDynamicASTMatchers >...
2017 Jun 27
3
Building llvm with clang and lld on arm and the llvm arm backend relocation on position independent code
> On 26 Jun 2017, at 16:25, Rui Ueyama <ruiu at google.com> wrote: > > On Sun, Jun 25, 2017 at 6:40 AM, Alessandro Pistocchi via llvm-dev <llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>> wrote: > Hi, > > I am trying to build a completely GNU free linux toolchain for the raspberry pi. > > I successfully managed to compile llvm and clang
2016 Mar 17
2
Building with LLVM_PARALLEL_XXX_JOBS
On Mon, Mar 14, 2016 at 5:30 PM, Chris Bieneman <cbieneman at apple.com> wrote: [ brutal-snip ] ... > [ TODO#S: Before doing a 2nd build (and in a 3rd run using more > optimized binaries) ] > > How do I anable LTO via CMAKE? > > > LLVM_ENALBLE_LTO=On > [ v4 of my build-script attached ] Hi Chris, thanks for the response! That seems to work (see below). $ cd
2019 Apr 30
6
Disk space and RAM requirements in docs
...build/tools/clang/unittests/Frontend/CMakeFiles 58M build/tools/clang/lib/StaticAnalyzer/Frontend/CMakeFiles/clangStaticAnalyzerFrontend.dir 58M build/tools/clang/lib/StaticAnalyzer/Frontend/CMakeFiles 58M build/tools/clang/lib/StaticAnalyzer/Frontend 55M build/tools/clang/lib/Basic/CMakeFiles/clangBasic.dir 55M build/tools/clang/lib/Basic/CMakeFiles 55M build/tools/clang/lib/Basic 54M build/tools/lld/lib/ReaderWriter 52M build/lib/Support/CMakeFiles/LLVMSupport.dir 52M build/lib/Support/CMakeFiles 52M build/lib/Support 51M build/tools/llvm-pdbutil/CMakeFiles/llvm-pdbutil.dir 51M build/tool...