search for: diagnosticconsum

Displaying 9 results from an estimated 9 matches for "diagnosticconsum".

Did you mean: diagnosticconsumer
2011 Dec 16
0
[LLVMdev] LLVM+Clang as a shared library
...undefined references to clang::TextDiagnosticPrinter::TextDiagnosticPrinter(llvm::raw_ostream&, clang::DiagnosticOptions const&, bool), clang::DiagnosticIDs::DiagnosticIDs(),clang::DiagnosticsEngine::DiagnosticsE ngine(llvm::IntrusiveRefCntPtr<clang::DiagnosticIDs> const&, clang::DiagnosticConsumer*, bool), etc. What I don't understand is that both LLVM and Clang are built together, yet only LLVM works for me. Otherwise, yes, I have made sure that my Qt-based application is built with Clang in mind. In fact, I have done exactly the same as I have done with LLVM, hence I am really puzzl...
2012 Jul 10
0
[LLVMdev] Unable to do even basic Clang tutorial
...nce to `clang::TextDiagnosticPrinter::TextDiagnosticPrinter(llvm::raw_ostream&, clang::DiagnosticOptions const&, bool)' tutorial1.cpp:(.text+0xd7): undefined reference to `clang::DiagnosticsEngine::DiagnosticsEngine(llvm::IntrusiveRefCntPtr<clang::DiagnosticIDs> const&, clang::DiagnosticConsumer*, bool)' tutorial1.cpp:(.text+0xf4): undefined reference to `clang::LangOptions::LangOptions()' tutorial1.cpp:(.text+0x125): undefined reference to `clang::FileManager::FileManager(clang::FileSystemOptions const&)' tutorial1.cpp:(.text+0x148): undefined reference to `clang::Source...
2012 Jul 10
2
[LLVMdev] Unable to do even basic Clang tutorial
...iagnosticPrinter::TextDiagnosticPrinter(llvm::raw_ostream&, > clang::DiagnosticOptions const&, bool)' > tutorial1.cpp:(.text+0xd7): undefined reference to > `clang::DiagnosticsEngine::DiagnosticsEngine(llvm::IntrusiveRefCntPtr<clang::DiagnosticIDs> > const&, clang::DiagnosticConsumer*, bool)' > tutorial1.cpp:(.text+0xf4): undefined reference to > `clang::LangOptions::LangOptions()' > tutorial1.cpp:(.text+0x125): undefined reference to > `clang::FileManager::FileManager(clang::FileSystemOptions const&)' > tutorial1.cpp:(.text+0x148): undefined re...
2012 Jul 10
2
[LLVMdev] Unable to do even basic Clang tutorial
...iagnosticPrinter::TextDiagnosticPrinter(llvm::raw_ostream&, > clang::DiagnosticOptions const&, bool)' > tutorial1.cpp:(.text+0xd7): undefined reference to > `clang::DiagnosticsEngine::DiagnosticsEngine(llvm::IntrusiveRefCntPtr<clang::DiagnosticIDs> > const&, clang::DiagnosticConsumer*, bool)' > tutorial1.cpp:(.text+0xf4): undefined reference to > `clang::LangOptions::LangOptions()' > tutorial1.cpp:(.text+0x125): undefined reference to > `clang::FileManager::FileManager(clang::FileSystemOptions const&)' > tutorial1.cpp:(.text+0x148): undefined re...
2020 Jun 12
2
[flang-dev] [cfe-dev] [RFC] Refactor Clang: move frontend/driver/diagnostics code to LLVM
For those of us not familiar with clang internals, it would be helpful if you could describe the parts of clang that you're considering sharing and explain what existing code they would replace in flang (if any) and what benefits we gain by sharing them. In particular, these were mentioned previously: DiagnosticsEngine, SourceManager, SourceLocation, FileManager, VFS Thanks, Tim On
2012 Jul 10
0
[LLVMdev] Unable to do even basic Clang tutorial
...nce to `clang::TextDiagnosticPrinter::TextDiagnosticPrinter(llvm::raw_ostream&, clang::DiagnosticOptions const&, bool)' tutorial1.cpp:(.text+0xd7): undefined reference to `clang::DiagnosticsEngine::DiagnosticsEngine(llvm::IntrusiveRefCntPtr<clang::DiagnosticIDs> const&, clang::DiagnosticConsumer*, bool)' tutorial1.cpp:(.text+0xf4): undefined reference to `clang::LangOptions::LangOptions()' tutorial1.cpp:(.text+0x125): undefined reference to `clang::FileManager::FileManager(clang::FileSystemOptions const&)' tutorial1.cpp:(.text+0x148): undefined reference to `clang::Source...
2012 Jul 10
3
[LLVMdev] Unable to do even basic Clang tutorial
Add -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS to your compilation flag. On 7/10/2012 11:23 AM, NY Knicks Fan wrote: > Hi Ashok, > > I created a new Ubuntu 12.04 virtual machine and followed directions > except that I know use your cmake command instead of configure, and I > got the error below. > > Any help is very much appreciated. > > > $
2020 Jun 09
4
[RFC] Refactor Clang: move frontend/driver/diagnostics code to LLVM
...backend for diagnostics to `frontend-support`. The definitions specific to Clang remain in clang (e.g. DiagnosticSemaKinds.td), generic diagnostics are moved to `frontend-support` (e.g. DiagnosticDriverKinds.td) 3. Move DiagnosticsEngine to `frontend-support`. I suspect that we may want to move DiagnosticConsumer, DiagnosticBuilder, etc too. 4. Refactor libclangDriver (so that it can be used by both clang and flang), rename it as libLLVMFrontendDriver and move to `frontend-support` 5. Start upstreaming the Flang driver based on the refactored driver code 1{a|b} and 2{a|b} could happen in parallel, but n...
2020 Jun 03
2
[cfe-dev] [RFC] Refactor Clang: move frontend/driver/diagnostics code to LLVM
On Tue, Jun 2, 2020 at 6:38 PM Richard Smith via llvm-dev < llvm-dev at lists.llvm.org> wrote: > On Tue, 2 Jun 2020 at 05:08, Andrzej Warzynski via cfe-dev < > cfe-dev at lists.llvm.org> wrote: > >> *TL;DR* >> >> We propose some non-trivial refactoring in Clang and LLVM to enable >> further work on Flang driver. >> >> *SUMMARY* >> We