Browse Source

fcl-passrc: useanalyzer: no hint for attributes

git-svn-id: trunk@41433 -
Mattias Gaertner 6 years ago
parent
commit
45eafbabca
1 changed files with 2 additions and 0 deletions
  1. 2 0
      packages/fcl-passrc/src/pasuseanalyzer.pas

+ 2 - 0
packages/fcl-passrc/src/pasuseanalyzer.pas

@@ -2470,6 +2470,8 @@ begin
       EmitTypeHints(TPasType(Decl))
     else if Decl is TPasProcedure then
       EmitProcedureHints(TPasProcedure(Decl))
+    else if Decl.ClassType=TPasAttributes then
+      // no hints
     else
       begin
       Usage:=FindElement(Decl);