search for: astmatch

Displaying 15 results from an estimated 15 matches for "astmatch".

Did you mean: lastmatch
2014 Jan 04
2
[LLVMdev] buildbot failure in LLVM on clang-native-arm-cortex-a9
...eason: scheduler > Build Source Stamp: [branch trunk] 198489 > Blamelist: alp > > BUILD FAILED: failed compile > The bug is not reproducible, so it is likely a hardware or OS problem. > make[5]: *** [/home/buildslave/slave_as-bldslv1/clang-native-arm-cortex-a9/llvm/tools/clang/lib/ASTMatchers/Dynamic/Release+Asserts/Registry.o] Error 1 > make[5]: Leaving directory `/home/buildslave/slave_as-bldslv1/clang-native-arm-cortex-a9/llvm/tools/clang/lib/ASTMatchers/Dynamic' > make[4]: *** [Dynamic/.makeall] Error 2 > make[4]: Leaving directory `/home/buildslave/slave_as-bldslv1/...
2014 Aug 22
5
[LLVMdev] [RFC] Raising LLVM minimum required MSVC version to 2013 for trunk
Starting a new thread to loop in cfe-dev and lldb-dev. For those not following along there has been a thread on llvm-dev about moving the minimum required Visual Studio version to 2013. The motivating reason is this will allow us to take advantage of a bunch of C++11 features that are not supported by MSVC 2012. According to MSDN (http://msdn.microsoft.com/en-us/library/hh567368.aspx) the list is:
2014 Sep 30
4
[LLVMdev] [cfe-dev] [RFC] Raising LLVM minimum required MSVC version to 2013 for trunk
...to weigh in on the subject yet? I'm expecting to have our internal builds switched over later this week. Our investigations have shown no problems. > > We have run into a hard situation where MSVC 2012 is missing a feature > that we are currently relying on. We made some changes to ASTMatchers > to reduce the number of symbols generated in order to not require > /bigobj support (see http://reviews.llvm.org/D5485). This change > relies on function templates with default arguments, which MSVC does > not support (it generates a C4519 error in MSVC 2012), resulting in > red...
2014 Jan 13
2
[LLVMdev] How to print a list of used LLVM APIs in a given open source project?
Hi, Assume there's an open source compiler implementation based on LLVM/Clang. What is the neatest way to print a list of LLVM APIs used in that open source project? Thanks. Best, Jiading
2020 Apr 10
2
Running clang tests
Hi Team, I have checked out the clang and llvm source code and built the executables using the visual studio 2015 community edition. I am using Windows as my platform. However I see that there are some test cases under the clang test folder in the LLVM.sln. Eg AstMatcherTest,ASTTests etc. I see that these tests make use of the Google test framework. In my visual studio I have installed Google Test Adapter extension for running the Google tests. But the tests under AstMatcherTest,ASTTests projects won't show up in the Test Explorer view in visual studio even...
2012 Oct 23
1
[LLVMdev] "Information retrieval"-y idea suggestions for course project.
...is a sampler of ideas that have come up: * a "blame" that digs up as much info as it can: commit messages, relevant code review threads, etc. * a way to track trends in C++ usage (naked new/delete, pimpl, RAII, etc.) * using MC to dig around in machine code looking for performance bugs * astmatchers ?????? PROFIT I'd like to hear any interesting ideas in this general area. This is a larger idea which I think I might be able to get a first prototype of: "Clang Auto-Patcher": Look at textual diffs and use Clang to get a more semantic diff, and then suggest other places in the...
2020 Apr 10
4
Running clang tests
...tem that they prefer, and encouraging people to fix the build system to work well with their chosen build system. This is the only way that things will get better. Sudhindra, to answer your question, I would also recommend upgrading to Visual Studio 2019 if you can. I just tried to directly run ASTMatcherTests from Visual Studio 2019 and it worked for me. I have no experience with the GTest IDE plugin, I’ve always just ran GTest binaries directly. There’s also a check-clang (I think that’s the one you want. It might be called something else but it’s definitely there) target in there that is equiva...
2019 Mar 04
3
RFC for f18+runtimes in LLVM
Am Sa., 2. März 2019 um 11:15 Uhr schrieb Chris Lattner via llvm-dev <llvm-dev at lists.llvm.org>: > I’d be really opposed to flang reusing the Clang ASTs themselves. C++ is already a complicated language and mixing all of Fortran's concerns (including a completely different object model) will make both of them *worse* than having them stand alone IMO. Could there be a common base
2020 Sep 27
3
How to add a new clang-tidy module
...Module.cpp + LINK_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 @@ +//===--- M011...
2013 Feb 11
3
[LLVMdev] [cfe-dev] UB in TypeLoc casting
...t that it might confuse the reader a bit > when they see a no-op cast like that) Looking into this I've fixed a few other things that were a little broken by the looseness of llvm::cast & friends (see r174853). I've been prototyping a fix to TypeLoc specifically, hit some hiccups in ASTMatchers (probably surmountable - Manuel helped me with r174862 (might need one other change there)) but otherwise seems achievable. Beyond that, though, I've hit one hierarchy in the Static Analyzer that does this as well: ProgramPoint. On IRC Jordan Rose mentioned that there's another more per...
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
2013 Apr 03
2
[LLVMdev] RFC: Bug fix releases for 3.3 and beyond
On 3 Apr 2013, at 18:42, Sean Silva <silvas at purdue.edu> wrote: > I'm not sure how difficult it actually is to follow ToT compared to one huge pain when upgrading for our full releases. I think it would be valuable to obtain feedback from projects that rely on LLVM as to how they go about integrating LLVM into their project and how our releases (and potentially dot-releases) would
2019 Apr 30
6
Disk space and RAM requirements in docs
...build/tools/clang/test/Tooling/Output/clang-check-mac-libcxx-fixed-compilation-db.cpp.tmp 2.8G    build/tools/clang/test/Tooling/Output 2.8G    build/tools/clang/test/Tooling 1.9G    build/tools/clang/unittests/Frontend 1.6G    build/tools/clang/unittests/Driver 1.5G    build/tools/clang/unittests/ASTMatchers 1.4G    build/tools/clang/lib/StaticAnalyzer 1.3G    build/lib/CodeGen Note that Clang's `unittest` and `test` directory together occupy more than 18 GB (which is about the size manual assigns for the entire build), with most of the space in `test` taken up by output of tooling tests (is...
2012 Dec 05
0
[LLVMdev] [cfe-dev] UB in TypeLoc casting
On Thu, Nov 29, 2012 at 8:16 PM, Richard Smith <richard at metafoo.co.uk> wrote: > On Thu, Nov 29, 2012 at 7:43 PM, Eli Friedman <eli.friedman at gmail.com> > wrote: >> >> On Thu, Nov 29, 2012 at 3:49 PM, David Blaikie <dblaikie at gmail.com> wrote: >> > Moving to LLVM dev to discuss the possibility of extending the cast >> > infrastructure to
2012 Nov 30
3
[LLVMdev] [cfe-dev] UB in TypeLoc casting
On Thu, Nov 29, 2012 at 7:43 PM, Eli Friedman <eli.friedman at gmail.com>wrote: > On Thu, Nov 29, 2012 at 3:49 PM, David Blaikie <dblaikie at gmail.com> wrote: > > Moving to LLVM dev to discuss the possibility of extending the cast > > infrastructure to handle this. > > > > On Tue, Nov 20, 2012 at 5:51 PM, John McCall <rjmccall at apple.com> wrote: