search for: declarationnam

Displaying 7 results from an estimated 7 matches for "declarationnam".

Did you mean: declarationname
2016 Dec 21
2
DeclarationName and the StringRef.
To context was , Basic requirement was to append extra string to the decl name and update all his references to the updated name. , So we are constructing the DeclarationName instance as stated below code snap. and from DeclarationName instance ,we are constructing the DeclarationNameInfo and same info used to create decl spec with FunctionDecl::Create () . Question is , How do ,someone instantiate the DeclarationName instance using StringRef ,because in the curr...
2016 Dec 21
0
DeclarationName and the StringRef.
On 12/21/2016 5:01 AM, Umesh Kalappa via llvm-dev wrote: > To context was , > > Basic requirement was to append extra string to the decl name and > update all his references to the updated name. , > > So we are constructing the DeclarationName instance as stated below > code snap. > and from DeclarationName instance ,we are constructing the > DeclarationNameInfo and same info used to create decl spec > with FunctionDecl::Create () . > > Question is , > > How do ,someone instantiate the DeclarationName inst...
2016 Dec 21
0
DeclarationName and the StringRef.
Hi Guys , We have the function that accepts StringRef and construct the DeclarationName instance . Currenlty we are achieving the same as ,the code snap void appendExtern(StringRef Sr) { char *ExternChar = const_cast<char *> (Sr.data()); *Ptr =reinterpret_cast<void *>(ExternChar); this->ExternName = DeclarationName::getFromOpaquePtr(Ptr); } There is, any bette...
2012 Sep 09
2
[LLVMdev] : troubles during compiling
...ang/lib/StaticAnalyzer/Core/../../../include/clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h:18, from /media/data/dev/llvm/llvm/tools/clang/lib/StaticAnalyzer/Core/PathDiagnostic.cpp:14: /media/data/dev/llvm/llvm/tools/clang/lib/StaticAnalyzer/Core/../../../include/clang/AST/DeclarationName.h:303:13: note: bool clang::operator<(clang::DeclarationName, clang::DeclarationName) /media/data/dev/llvm/llvm/tools/clang/lib/StaticAnalyzer/Core/../../../include/clang/AST/DeclarationName.h:303:13: note: no known conversion for argument 1 from 'llvm::FoldingSetNodeID' to 'clang...
2012 Sep 09
0
[LLVMdev] : troubles during compiling
...alyzer/Core/../../../include/clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h:18, > from > /media/data/dev/llvm/llvm/tools/clang/lib/StaticAnalyzer/Core/PathDiagnostic.cpp:14: > /media/data/dev/llvm/llvm/tools/clang/lib/StaticAnalyzer/Core/../../../include/clang/AST/DeclarationName.h:303:13: > note: bool clang::operator<(clang::DeclarationName, clang::DeclarationName) > /media/data/dev/llvm/llvm/tools/clang/lib/StaticAnalyzer/Core/../../../include/clang/AST/DeclarationName.h:303:13: > note: no known conversion for argument 1 from 'llvm::FoldingSetNodeID'...
2016 Jul 20
2
[XRay] Build instrumented Clang, some analysis results
...PrimaryContext() 283681 llvm::FoldingSetNodeID::AddPointer(void const*) 214706 clang::Preprocessor::Lex(clang::Token&) 193352 llvm::FoldingSetNodeID::AddInteger(unsigned int) 161706 clang::Lexer::LexTokenInternal(clang::Token&, bool) 161055 clang::Lexer::Lex(clang::Token&) 143420 clang::DeclarationName::getNameKind() const 142071 llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>::Allocate(unsigned long, unsigned long) 139009 clang::NamespaceDecl::getOriginalNamespace() 125706 clang::Redeclarable<clang::TagDecl>::DeclLink::getNext(clang::TagDecl const*) const 107928 cl...
2016 Dec 23
0
Assign different RegClasses to a virtual, register based on 'uniform' attribute?
...on 'uniform' attribute? (Ruiling Song via llvm-dev) > 5. Postdoc Positions - LLVM for High-Performance Computing > (Hal Finkel via llvm-dev) > 6. struct bitfield regression between 3.6 and 3.9 (using -O0) > (Phil Tomson via llvm-dev) > 7. Re: DeclarationName and the StringRef. > (Umesh Kalappa via llvm-dev) > 8. convert load with load from getElementPtr > (Varun Patil via llvm-dev) > 9. Re: convert load with load from getElementPtr > (Mehdi Amini via llvm-dev) > 10. Re: Correct way to pass int128 from...