{"action":"created","issue":{"url":"https://api.github.com/repos/eranif/codelite/issues/730","labels_url":"https://api.github.com/repos/eranif/codelite/issues/730/labels{/name}","comments_url":"https://api.github.com/repos/eranif/codelite/issues/730/comments","events_url":"https://api.github.com/repos/eranif/codelite/issues/730/events","html_url":"https://github.com/eranif/codelite/issues/730","id":69286040,"number":730,"title":"Code completition (with ctags) doesn't find getLocStart of Decl based classes/object in clang + llvm.","user":{"login":"05storm26","id":8590289,"avatar_url":"https://avatars.githubusercontent.com/u/8590289?v=3","gravatar_id":"","url":"https://api.github.com/users/05storm26","html_url":"https://github.com/05storm26","followers_url":"https://api.github.com/users/05storm26/followers","following_url":"https://api.github.com/users/05storm26/following{/other_user}","gists_url":"https://api.github.com/users/05storm26/gists{/gist_id}","starred_url":"https://api.github.com/users/05storm26/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/05storm26/subscriptions","organizations_url":"https://api.github.com/users/05storm26/orgs","repos_url":"https://api.github.com/users/05storm26/repos","events_url":"https://api.github.com/users/05storm26/events{/privacy}","received_events_url":"https://api.github.com/users/05storm26/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-04-18T08:27:05Z","updated_at":"2015-04-19T20:28:19Z","closed_at":null,"body":"Get llvm 3.6, get the corresponding clang and put it into the llvm/tools directory, then get clang-tools-extra and put that into llvm/tools/clang/tools/extra/. \r\n\r\nGo to a clang-extra plugin for example clang-modernize, llvm/tools/clang/tools/extra/clang-modernize/ReplaceAutoPtr/ReplaceAutoPtrActionsActions.cpp go  to AutoPtrReplacer::run (line 45) go to the 53-line into the else part where it gets an const UsingDecl * as 'const UsingDecl *D = Result.Nodes.getNodeAs<UsingDecl>(AutoPtrTokenId);'. \r\n\r\nNow below that you write in 'D->get' <ctrl + space > and even though you do get a lot of symbols in the appearing code completition list you don't get everything, you don't get getLocStart(), getLocEnd(), and getSourceLocation().\r\n\r\nUsingDecl is declared in DeclCXX.h and based on NamedDecl which is based on Decl, which does defines getLocStart(). Same is true for other derived classes like FunctionDecl.\r\n\r\nIf you need more information please tell me. I have codelite based on afa4bb3a6e331b9f76fb42fe7ffba70b4a464fe9."},"comment":{"url":"https://api.github.com/repos/eranif/codelite/issues/comments/94310678","html_url":"https://github.com/eranif/codelite/issues/730#issuecomment-94310678","issue_url":"https://api.github.com/repos/eranif/codelite/issues/730","id":94310678,"user":{"login":"luckyrandom","id":5482817,"avatar_url":"https://avatars.githubusercontent.com/u/5482817?v=3","gravatar_id":"","url":"https://api.github.com/users/luckyrandom","html_url":"https://github.com/luckyrandom","followers_url":"https://api.github.com/users/luckyrandom/followers","following_url":"https://api.github.com/users/luckyrandom/following{/other_user}","gists_url":"https://api.github.com/users/luckyrandom/gists{/gist_id}","starred_url":"https://api.github.com/users/luckyrandom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luckyrandom/subscriptions","organizations_url":"https://api.github.com/users/luckyrandom/orgs","repos_url":"https://api.github.com/users/luckyrandom/repos","events_url":"https://api.github.com/users/luckyrandom/events{/privacy}","received_events_url":"https://api.github.com/users/luckyrandom/received_events","type":"User","site_admin":false},"created_at":"2015-04-19T20:28:19Z","updated_at":"2015-04-19T20:28:19Z","body":"@eranif It seems not fixed in the weekly build version, with the same error. Could you please double check? At one time, it shows a warning that I should set environment variable CXX and CC for custom build. I follow the instruction and set that in Project Setting -> Environment, but seems has no effect. I wonder why shall we set that, since CodeLite knows it is a custom build. Another related question is that I can't reproduce the warning, and I only see it once.\r\n\r\nBy the way, the downloaded file is end in `targz`, which should be `tar.gz`."}}